Armour & health for all every 30 seconds [SOLVED in 1min]
#3

I did it :

pawn Код:
//Put in OnGameModeInit:

SetTimer("ArmourHealth",30000,1);



//And, in the end of your gamemode:

forward ArmourHealth();
public ArmourHealth()
{
    for(new x=0; x<MAX_PLAYERS; x++)
    {
        if(IsPlayerConnected(x))
        {
            SetPlayerHealth(x, 100);
            SetPlayerArmour(x, 100);
        }
    }
}

I hope that i have helped
Reply


Messages In This Thread
Armour & health for all every 30 seconds [SOLVED in 1min] - by LZLo - 20.12.2010, 10:18
Re: Armour & health for all every 30 seconds - by LZLo - 20.12.2010, 10:19
Re: Armour & health for all every 30 seconds [SOLVED in 1min] - by rjjj - 20.12.2010, 11:21

Forum Jump:


Users browsing this thread: 1 Guest(s)