Ne OnPlayerDeath alatt változtasd meg a pozícióját, ha dmben van.
OnPlayerSpawnál tedd vissza a dm-be.
[pawn]public OnPlayerSpawn(playerid)
{
if(Dm[playerid] == 1)
{
new rand = random(sizeof(RandomSpawn));
SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);
}
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}[/pawn]