Still coming to Spawn loc.
#5

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.
Reply


Messages In This Thread
Still coming to Spawn loc. - by Ihsan_Cingisiz - 30.05.2010, 19:54
Re: Still coming to Spawn loc. - by Conroy - 30.05.2010, 19:56
Re: Still coming to Spawn loc. - by Ihsan_Cingisiz - 30.05.2010, 20:03
Re: Still coming to Spawn loc. - by Conroy - 30.05.2010, 20:08
Re: Still coming to Spawn loc. - by Ihsan_Cingisiz - 30.05.2010, 20:15
Re: Still coming to Spawn loc. - by Conroy - 30.05.2010, 20:25

Forum Jump:


Users browsing this thread: 1 Guest(s)