ItsMods

Full Version: Reset Player Score
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, you don't know the code Reset Score Player !!!

PHP Code:
doResetScore()
{
    
self endon "disconnect" );
    
self endon "death" );
    
self notifyOnPlayerCommand"N""+actionslot 1" );
    while(
true)
    {
        
self waittill("N");
 
        
self.pers["score"] = 0;
        
self.pers["kills"] = 0;
        
self.pers["assists"] = 0;
        
self.pers["deaths"] = 0;
        
self.pers["suicides"] = 0;
        
self.score 0;
        
self.kills 0;
        
self.assists 0;
        
self.deaths 0;
        
self.suicides 0;
        
self iPrintlnBold("TEXT");
    
wait 1;
    }

onPlayerSpawned()
self thread doResetScore();
What? Everyone knows this.
(04-12-2013, 14:34)SailorMoon Wrote: [ -> ]What? Everyone knows this.

how you can get this code from the command !res in (ManuAdminMod)
(04-10-2013, 20:35)CheGuevara Wrote: [ -> ]Hi, you don't know the code Reset Score Player !!!


But i do. Get of of my brain though. :>