SA-MP Forums Archive
Invalid instruction? - 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: Invalid instruction? (/showthread.php?tid=459521)



Invalid instruction? - KubiPL - 23.08.2013

Hello, i have unknown error in crashdetect plugin..

[14:54:31] [debug] Run time error 6: "Invalid instruction"
[14:54:31] [debug] Unknown opcode 0x1049786 at address 0x00000039
[14:54:31] [debug] AMX backtrace:
[14:54:31] [debug] #0 00000039 in public SSCANF_OnFilterScriptInit (... <54525952 variable arguments>) at C:\Users\Kubi\Desktop\u-gaming.pl server\pawno\include\float.inc:102

AND

[16:40:43] [debug] Run time error 6: "Invalid instruction"
[16:40:43] [debug] Unknown opcode 0x0 at address 0x00000035
[16:40:43] [debug] AMX backtrace:
[16:40:43] [debug] #0 00000035 in public OnDialogResponse () at C:\Users\Kubi\Desktop\u-gaming.pl server\pawno\include\float.inc:103

This is printed when player spawn car.

SendClientMessage(playerid, 0xFFC0CB, "Car spawned.");
LoadCarsEx(CarInfo[carid][vUID]);
print("Loaded");

I check this function, and all is OK inside. Also, i made debug in this function, no issues detected...

This error is printed before END OF 'LoadCarsEx' FUNCTION and print("Loaded"); (Detect brackle? WTF)

Thanks for help.