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



HELP ME HERE, please. - noobre - 28.08.2011



ERROR: "Invalid index parameter <bad entry point>"

Solution ?


Re: Error - Kaperstone - 28.08.2011

make sure you have this somewhere in your GM ::
main() { }
you can put : main() { print("its working!");


Respuesta: Error - [00]Luis - 28.08.2011

Add:

Код:
main(){}
below of the includes


Re: Error - noobre - 28.08.2011

its not working both. when i put that supose "main() { } or main() { print("its working!");" - the compilation crash's.

( sorry for the bad english ).


Re: Error - Wesley221 - 28.08.2011

pawn Код:
main()
{
    print("My gamemode is now working if i see this int he console!!");
}



Re: Error - Kingunit - 28.08.2011

Be sure you place it above OnGameModeInit not inside a callback.


Re: Error - noobre - 28.08.2011

like that ?
pawn Код:
main()
{
    print("My gamemode is now working if i see this int he console!!");
}

public OnGameModeInit()
{
Here is the Error: