Need help ( Respawn player on DM )
#2

First of all you need multiple variables for that.

If you want when player is in Flame DM, And he dies and he will respawn in Flame.

Then here is it.

OnPlayerSpawn

pawn Код:
if(DMZone[playerid] == 0)
{
    new rand = random(sizeof(RandomPlayerSpawns));
    SetPlayerPos(playerid, RandomPlayerSpawns[rand[0],RandomPlayerSpawns[rand]1],RandomPlayerSpawns[rand[2]);
}
if(DMZone[playerid] == 1)
{
    SetPlayerPos(playerid, RandomPlayerSpawnsFlame[rand][0], RandomPlayerSpawnsFlame[rand][1], RandomPlayerSpawnsFlame[rand][2]);
}
Reply


Messages In This Thread
Need help ( Respawn player on DM ) - by [M.A]Angel[M.A] - 25.08.2011, 02:42
Re: Need help ( Respawn player on DM ) - by Davz*|*Criss - 25.08.2011, 12:16
Re: Need help ( Respawn player on DM ) - by [M.A]Angel[M.A] - 25.08.2011, 13:26
Re: Need help ( Respawn player on DM ) - by IceCube! - 25.08.2011, 14:15
Re: Need help ( Respawn player on DM ) - by Tee - 25.08.2011, 15:21
Re: Need help ( Respawn player on DM ) - by [M.A]Angel[M.A] - 26.08.2011, 00:39
Re: Need help ( Respawn player on DM ) - by Davz*|*Criss - 26.08.2011, 00:56
Re: Need help ( Respawn player on DM ) - by Davz*|*Criss - 26.08.2011, 00:58
Re: Need help ( Respawn player on DM ) - by [M.A]Angel[M.A] - 27.08.2011, 18:24

Forum Jump:


Users browsing this thread: 3 Guest(s)