19.01.2011, 02:59
Create a varible like IsInDM..
new IsInDM[MAX_PLAYERS];
Now call that varible at the place that takes the player to the dm
e.g
IsInDM[playerid] = 1;
Then make a if statement on onplayerspawn like
if(IsInDm[playerid] == 1)
{
// add setplayerpos or place u wanna put the player..
}
new IsInDM[MAX_PLAYERS];
Now call that varible at the place that takes the player to the dm
e.g
IsInDM[playerid] = 1;
Then make a if statement on onplayerspawn like
if(IsInDm[playerid] == 1)
{
// add setplayerpos or place u wanna put the player..
}