when all death all spawn
#6

pawn Код:
forward DeadTimer();
public DeadTimer()
{
    for(new i=0;i < MAX_PLAYERS; i++) // foreach(Player, i) - if using foreach (Recommended)
    {
        new Float:health;
        GetPlayerHealth(i, health);
        if(health < 1 && IsPlayerConnected(i))
        {
            SpawnPlayer(i);
        }
    }
}
Reply


Messages In This Thread
when all death all spawn - by DexXxo - 22.09.2012, 14:39
Re: when all death all spawn - by RedJohn - 22.09.2012, 14:47
AW: when all death all spawn - by DexXxo - 22.09.2012, 14:59
Re: when all death all spawn - by clarencecuzz - 22.09.2012, 15:01
AW: when all death all spawn - by DexXxo - 22.09.2012, 15:18
Re: when all death all spawn - by RedJohn - 22.09.2012, 15:26
AW: when all death all spawn - by DexXxo - 22.09.2012, 15:34
Re: when all death all spawn - by RedJohn - 22.09.2012, 15:35
AW: when all death all spawn - by DexXxo - 22.09.2012, 15:38
Re: when all death all spawn - by RedJohn - 22.09.2012, 15:43

Forum Jump:


Users browsing this thread: 1 Guest(s)