14.06.2013, 16:53
If you have a variable like InDm put this in OnPlayerSpawn:
If you don't have a variable, put this at the at the end of the #include lines :
Then in the DM command :
And in the command where you leave DM :
And then use the OnPlayerSpawn code i gave you.
Hope i helped.
pawn Код:
if(InDm[playerid] == 1)
{
SetPlayerPos(playerid, X, Y, Z); // Replace X Y Z with your coords.
}
pawn Код:
new InDm[MAX_PLAYERS];
pawn Код:
InDm[playerid] = 1;
pawn Код:
InDm[playerid] = 0;
Hope i helped.