onplayerspawn & onplayerdeath callbacks
#1

When i do something like that:
Код:
OnPlayerSpawn(playerid);
or
Код:
SpawnPlayer(playerid);
i dont know why but OnPlayerDeath callback is called. Im not a PAWN noob, i checked everything, i never call that callback, i checked it when its called by print(..); and it seems that its called right after OnPlayerSpawn has finished.
Has SA-MP got some function bugged which i dont know about? Please reply


//edit: when i set player health to 0, the hp bar is 0 but you can walk normaly
Reply


Messages In This Thread
onplayerspawn & onplayerdeath callbacks - by i514x - 12.06.2011, 16:08
Re: onplayerspawn & onplayerdeath callbacks - by Gamer_Z - 12.06.2011, 17:25
Re: onplayerspawn & onplayerdeath callbacks - by ricardo178 - 12.06.2011, 17:33
Re: onplayerspawn & onplayerdeath callbacks - by i514x - 12.06.2011, 17:53

Forum Jump:


Users browsing this thread: 2 Guest(s)