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

Armour & health for all every 30 seconds

how can i make it?
Reply
#2

sry DONE
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)