02.03.2014, 22:09
Problem is that if a person dies inside there, he doesn't spawn back in there,
pawn Code:
// under OnPlayerDeath
if(InDMS[playerid] == 1)
{
new Random = random(sizeof(RandomDMSpawns));
SetPlayerPos(playerid, RandomDMSpawns[Random][0], RandomDMSpawns[Random][1], RandomDMSpawns[Random][2]);
SetPlayerFacingAngle(playerid, RandomDMSpawns[Random][3]);
SetTimer("DMSTimer", 3000, false);
}