SA-MP Forums Archive
[HELP] Player "not" able to die - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] Player "not" able to die (/showthread.php?tid=632628)



[HELP] Player "not" able to die - Zav1337 - 17.04.2017

Hey guys, I have a problem. When player die, it won't respawn him untill he jump from high wall or something, he can move or shoot other players. I tried removing everything from OnPlayerDeath except "return 1;", also tried to remove my timers and small script from OnPlayerUpdate, but unfortunately nothing fixed it.

BTW.. Didn't test removing plugins/filterscripts because I am using only 3 filterscripts.. 2 made by me, they will be included in gm soon, and 3rd is textdraweditor. Plugins that I'm using: Incognito's streamer, pBlueg's mysql, bcrypt.

EDIT: Tried removing filterscripts, nothing changed.


Re: [HELP] Player "not" able to die - GangstaSunny. - 17.04.2017

I know what you mean but i had this problems many many many many freaking many years ago.

You can run a timer and set the hp to 0 if the hp of the player is 0. Sounds stupid bit it works.