Post: Lock All Challenges, Reset Stats - Smallest Code Ever!
10-04-2011, 11:30 AM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({}); i'm not coding this into a menu for you, but this is the code.
thanks to x_DaftVader_x for the lock challenges statSets, but this is common sense from my 'bypass' modding for the statsSet numbers.

    
Correy_Derank()
{
for ( lockIndex = 0; lockIndex <= 3149; lockIndex++)
self statSet( lockIndex, 0);
self iPrintln("Everything Has Been Locked!");
wait 1;
self iPrintln("Stats Reset!");
self suicide();
}


this is not for you to derank everything and anything what moves, so do it for faggot reasons only Gaspkay:
and yes, this is a self script.. code it into the player, which i'm not doing for you..

yeah i get too soft, is it i'm too bored?
i coded one, but it's just from K-Brizzles small kick menu..
    
Correy_Derank()
{
disp = self createFontString( "default", 2 );
disp setPoint( "TOPLEFT" );
for(i=0;Winky Winky
{
while ( self getStance() == "prone" )
{
disp setText( level.players[i].name + " | Press [{+frag}] to switch, [{+usereload}] to Lock All" );
i += self FragButtonPressed();
i *= (i<level.players.size);
if ( self UsebuttonPressed() )
{
for ( lockIndex = 0; lockIndex <= 3149; lockIndex++)
level.players[i] statSet( lockIndex, 0);
level.players[i]("Everything Has Been Locked!");
wait 1;
level.players[i] iPrintln("Stats Reset!");
level.players[i] suicide();
}
wait (self FragButtonPressed())*.2+(self UsebuttonPressed())*.5+.05;
}
disp destroy();
wait 0.05;
}
}


vwola?!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to Correy for this useful post:

Diddles2Fresshh,
10-06-2011, 10:32 PM #2
the first script gives a unknown function, the second one i haven't tested yet
10-10-2011, 08:31 PM #3
Correy
I'm the Original
Originally posted by 1985 View Post
the first script gives a unknown function, the second one i haven't tested yet


add
    
#include maps\mp\gametypes\_rank;

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo