Respawn in death match zone
#3

If you have a variable like InDm put this in OnPlayerSpawn:

pawn Код:
if(InDm[playerid] == 1)
{
    SetPlayerPos(playerid, X, Y, Z); // Replace X Y Z with your coords.
}
If you don't have a variable, put this at the at the end of the #include lines :

pawn Код:
new InDm[MAX_PLAYERS];
Then in the DM command :

pawn Код:
InDm[playerid] = 1;
And in the command where you leave DM :

pawn Код:
InDm[playerid] = 0;
And then use the OnPlayerSpawn code i gave you.

Hope i helped.
Reply


Messages In This Thread
Respawn in death match zone - by InTeL_cOrE_i7 - 14.06.2013, 16:48
AW: Respawn in death match zone - by Skimmer - 14.06.2013, 16:53
Re: Respawn in death match zone - by SilverKiller - 14.06.2013, 16:53
Re: Respawn in death match zone - by InTeL_cOrE_i7 - 14.06.2013, 17:02

Forum Jump:


Users browsing this thread: 3 Guest(s)