SA-MP Forums Archive
Bug when Player Dead - 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: Bug when Player Dead (/showthread.php?tid=501501)



Bug when Player Dead - MBilal - 18.03.2014

Dude Help me When Player Dead it show "Requesting to class Selection After Next Kill" i dont know and it also connect or login how to fix that?


Re: Bug when Player Dead - iThePunisher - 18.03.2014

show me in pm onplayerdeath. im gonna help you.


Re: Bug when Player Dead - MP2 - 18.03.2014

Do you bypass class selection using TogglePlayerSpectating/SpawnPlayer? If so, the 'HasChosenClass' variable in the samp server is still false, so it sends you back. I had this problem too, but can't remmeber how I fixed it (I think I just ended up instantly spawning them again under OnPlayerRequestClass).


Re: Bug when Player Dead - Snipa - 18.03.2014

https://sampwiki.blast.hk/wiki/SetSpawnInfo

Will automatically spawn the player, if that's what you want.