Code Crashes people? - 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: Code Crashes people? (
/showthread.php?tid=252498)
Code Crashes people? -
Kitten - 01.05.2011
Solved
Re: Code Crashes people? -
Sinner - 01.05.2011
I don't see what could cause the crashes. Maybe OnPlayerUpdate() loops this so fast that it's causing crashes?
I'd say use a timer and check every 1 second and see if that fixes it (don't take my word for it, though).