Bleeding system
#4

PHP код:
public OnGameModeInit()
{
    
SetTimer("LifeCheck"30000true);
    return 
1;
}

public 
LifeCheck()
{
    for(new 
iGetMaxPlayers(); i++)
    {
        if(
IsPlayerConnected(i))
        {
            new 
Float:health;
            
GetPlayerHealth(ihealth);
            
SetPlayerHealth(ihealth-1);
        }
    }
    return 
1;

Reply


Messages In This Thread
Bleeding system - by viddo - 08.01.2012, 11:58
Re: Bleeding system - by viddo - 10.01.2012, 10:21
Re: Bleeding system - by Konstantinos - 10.01.2012, 10:23
Re: Bleeding system - by Shadoww5 - 10.01.2012, 12:53

Forum Jump:


Users browsing this thread: 1 Guest(s)