SA-MP Forums Archive
rare bug - 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: rare bug (/showthread.php?tid=455544)



rare bug - exclide1 - 02.08.2013

Hello. I have a bug that occurs very rarely, and because of that, it's hard to find the reason why it does. Here's what happens: 1 out of 100 times, when you die, you won't spawn and your camera will be locked on the small bridge near Las Venturas. I tried seaching, but with no results. Is there anyone who faced the same problem? I'd be glad, if you could help me.


Re: rare bug - Pk93 - 02.08.2013

we need your lines to see whats wrong my man


Re: rare bug - Edix - 02.08.2013

I assume its a problem in OnPlayerDeath or anything else that related to death in your script.

try searching for something with SetPlayerCameraPos


Re: rare bug - exclide1 - 02.08.2013

Quote:
Originally Posted by Pk93
View Post
we need your lines to see whats wrong my man
I have a few lines... But they seem fine to me. http://pastebin.com/sXAKxwGv

Quote:

try searching for something with SetPlayerCameraPos

Thanks, but I don't have it neither in OnPlayerDeath() or OnPlayerSpawn()