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=455600)
Pawno Crashes -
Zloobe - 02.08.2013
So when i compile my Gamemode the pawno crashes, But the strangest thing is that sometimes it don't crash when i compile. And i have't done any changes on it for a while. Please help me i do run it as Admin. Is there any other way?
Re: Pawno Crashes -
Red_Dragon. - 02.08.2013
I suggest commenting out a few lines from your script till the compiler doesn't crash and see why this snippet of code cause this problem.
Re: Pawno Crashes -
JhnzRep - 02.08.2013
It means you have too many errors. Like the man above said start commenting out prats of until it compiles, so you will find where the errors are.
Re: Pawno Crashes -
Zloobe - 02.08.2013
Well its strange as i could compile it yesterday then i went to sleep and now i cannot compile is :S
Re: Pawno Crashes -
RedJohn - 02.08.2013
If Pawno crashes than often problem is brackets. There is more opening than closing or something like that.
So paste your code
http://codegenerators.pl/ at the right side and on the top you will see: Bracket counter
Check if both numbers are the same.
Re: Pawno Crashes -
Zloobe - 02.08.2013
There is no errors with brackets but i compiled it with a compiler in another folder and i got that this "cache_get_field_content" is an undefined
Код:
Desktop\Send\gamemodes\NRG.pwn(3063) : error 017: undefined symbol "cache_get_field_content"
Re: Pawno Crashes -
SMCentral - 02.08.2013
Check this thread out:
https://sampforum.blast.hk/showthread.php?tid=337810
Are you compiling with the right MySQL includes?
Re: Pawno Crashes -
Zloobe - 02.08.2013
Still no luck?