Check spawn
#1

Is there a better way to check if player is spawned?
Currently I have spawned=true; inside OnPlayerSpawn, but there is a problem with it...
not always it seem to go back from false (inside OnPlayerDeath) and that causes problems :/
I do recall some function like GetPlayerPos that returns false if player isn't spawned (if(GetPlayerPos(playerid, x, y, z))...), but I could be wrong and mixing up 2 games.
Reply


Messages In This Thread
Check spawn - by potato - 25.01.2010, 19:43
Re: Check spawn - by KnooL - 25.01.2010, 19:50
Re: Check spawn - by potato - 25.01.2010, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)