when all death all spawn
#2

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

SOURCE: https://sampforum.blast.hk/showthread.php?tid=245683

PS: If your english sucks post it here: http://forum.sa-mp.com/forumdisplay.php?f=28
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: 2 Guest(s)