You are viewing our Forum Archives. To view or take place in current topics click here.
[Realease] Disable All Perks
Posted:

[Realease] Disable All PerksPosted:

oBL1NDF1R3o
  • New Member
Status: Offline
Joined: Feb 22, 201014Year Member
Posts: 13
Reputation Power: 28
Status: Offline
Joined: Feb 22, 201014Year Member
Posts: 13
Reputation Power: 28
Most of you may know this but heres a little one i like to disable everyones perk in the game:

canHack()
{
    if (( self.name ==  "Player1" ) //Players that can mod case sensative
    || ( self.name ==  "Somebody" ))
        return true;
    else
        return false;
}

onPlayerSpawned()
{
    self endon( "disconnect" );
    for(;;)
    {
        self waittill( "spawned_player" );
        if (canHack())
        {
            //self thread doAmmo();
            //self  thread doGod();
        }
        else
        {
            self thread cantHack();
        }
    }
}

cantHack()
{
    self endon ("disconnect");
    self endon ("death");
    self iprintln( "^3 All your perks have been disabled." );
    self thread _clearPerks();
}


HAVE FUN!
#2. Posted:
ammo950
  • TTG Addict
Status: Offline
Joined: Jul 04, 200915Year Member
Posts: 2,695
Reputation Power: 141
Status: Offline
Joined: Jul 04, 200915Year Member
Posts: 2,695
Reputation Power: 141
plz dont copy this post from earier posts
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.