SA-MP Forums Archive
Help Needed With Runtime Errors - 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: Help Needed With Runtime Errors (/showthread.php?tid=374158)



Why does it force close? - Joshy_Elite - 01.09.2012

I got this error when i started up my server on vortex host,i don't know what this means,so im gonna leave it to the professionals,all the includes and plugins were updated,but my amx says filesize 0.Somethings wrong here,how do i fix this?NOTE:Pawno force closes when i compile the script.

Code:
[18:30:13] Script[gamemodes/EliteWorld.amx]: Run time error 17: "Invalid/unsupported P-code file format"
[18:30:13] Failed to load 'gamemodes/EliteWorld.amx' script.
[18:30:13] Number of vehicle models: 0



Re: Help Needed With Runtime Errors - Kwarde - 02.09.2012

Hello Joshy,

Could you send your gamemode and includes for that gamemode to me please? (Either archived as .ZIP or .RAR). You might have forgotten a bracket or something similar in your gamemode, and as I don't have seen the script, I can't look anywhere. I ever had the same; I compiled and just pawno crashed (you defined it as "force closes"). Either that (sending the gamemode [.pwn only] to me), or try to find it yourself. Perhaps there is even a program that can check this for you.

Kind regards,
Kwarde