SA-MP Forums Archive
Pawno crashes.. - 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: Pawno crashes.. (/showthread.php?tid=471602)



Pawno crashes.. - pirates12 - 24.10.2013

Hey, i have problem with pawno, if i try complile gamemode then pawno crashes, someone can help me? (I like this gamemode very much), (sorry for bad english)


Re: Pawno crashes.. - StuartD - 24.10.2013

Go through your script, it generally crashes if you have missed a brace - { }


Re: Pawno crashes.. - pirates12 - 24.10.2013

But, can u try fix it ? :/


Re: Pawno crashes.. - StuartD - 24.10.2013

If I fix it for you, you won't learn from your mistakes..


Re: Pawno crashes.. - pirates12 - 24.10.2013

I am beginner, i dont understand code perfectly yet, but i learning..


Re: Pawno crashes.. - StuartD - 24.10.2013

Go through your script and see the last things that you have done, comment them out one by one using /* and */ then see if it can compile, one you have found the problem then you know where to fix it!


Re: Pawno crashes.. - pirates12 - 24.10.2013

but this code is over 20,000 row, very hard to find mistake :/


Re: Pawno crashes.. - StuartD - 24.10.2013

Start commenting out the bigger sections, for example comment OnGamemodeInit, if it compiles the problem is there, if not you could then comment out OnPlayerUpdate etc.