Different spawn points
#7

pawn Код:
new bool:Dead[MAX_PLAYERS];

//OnPlayerDeath
Dead[playerid] = true;

//OnPlayerSpawn
if(Dead[playerid])
{
    switch(random(3))
    {
        case 0: SetPlayerPos(playerid,xxx,yyy,zzz);
        case 1: SetPlayerPos(playerid,xxx,yyy,zzz);
        case 2: SetPlayerPos(playerid,xxx,yyy,zzz);
    }
    Dead[playerid] = false;
}
Reply


Messages In This Thread
Different spawn points - by FrostDoggy - 15.09.2011, 08:01
Re: Different spawn points - by |_ⒾⓇⓄN_ⒹⓄG_| - 15.09.2011, 08:03
Re: Different spawn points - by =WoR=Varth - 15.09.2011, 08:05
Re: Different spawn points - by FrostDoggy - 15.09.2011, 08:07
Re: Different spawn points - by [MG]Dimi - 15.09.2011, 08:11
Re: Different spawn points - by |_ⒾⓇⓄN_ⒹⓄG_| - 15.09.2011, 08:14
Re: Different spawn points - by =WoR=Varth - 15.09.2011, 08:21
Re: Different spawn points - by |_ⒾⓇⓄN_ⒹⓄG_| - 15.09.2011, 08:25
Re: Different spawn points - by FrostDoggy - 15.09.2011, 08:31
Re: Different spawn points - by =WoR=Varth - 15.09.2011, 08:43

Forum Jump:


Users browsing this thread: 1 Guest(s)