SA-MP Forums Archive
[bug]OnPlayerRequestClass + death.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [bug]OnPlayerRequestClass + death.. (/showthread.php?tid=197099)



[bug]OnPlayerRequestClass + death.. - GaGlets(R) - 07.12.2010

While testing script i just acidently noticed bug with onplayerrequestclass..

first, make a player position in some kind of interior - any interior.
I added some camera lines at spawnrequest, also added player interior change back to 0 but not position !
wait some seconds after requestingspawn.. and character will die.
after that it will respawn in grove street with bottle in hand..
after respawning bottle still is in character hands.

Shortcut:
If Player dies while requesting class character will spawn with bottle in hand.