Quote:
Originally Posted by Conroy
pawn Код:
new pDeath[MAX_PLAYERS];
forward DeathTimer(id);
pawn Код:
//OnPlayerDeath pDeath[playerid] = 1; SetTimerEx("DeathTimer", 60000, false, "d", playerid);
pawn Код:
//OnPlayerRequestSpawn if(pDeath[playerid] == 1) return 0;
pawn Код:
public DeathTimer(id) { pDeath[playerid] = 0; SpawnPlayer(id); return 1; }
Unsure if OnPlayerRequestSpawn is used after the player dies, try it though.
|
Thanks again, i see you are experienced in Scriprintg
i have one problem, i want that the player sees the
hospital from the air and that he needs to wait 60 second
to spawn, and there must be a 3D text in the middle of the
screen, wait 60 seconds.