SA-MP Forums Archive
error on console - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: error on console (/showthread.php?tid=140503)



error on console - MEXICAN_NORTE - 09.04.2010

hi thanks to look at my post well i dont realy know whats going on with my gamemode is a deathamtch gamemode it compiles fine with no erors or warnings but in the console sayz


script[gamemodes/gangwars.amx]: run time error 20 invalid index parameter <bad entry point>"

i dont know what is going on
because it load just fine but when i go online and do any commads the screen will bug can someone help me to solve this problem i will apreciate it


Re: error on console - Lorenc_ - 09.04.2010

There are plenty of these posts... Search before you post.


Re: error on console - Lorenc_ - 09.04.2010

Quote:
Originally Posted by Don Correlli
You forgot to put the function main() in your script.

pawn Код:
main()
{
  printf("This is the main() function.");
}



Re: error on console - MEXICAN_NORTE - 09.04.2010

i already did that but still showin that runtime error i have it like this


pawn Код:
main()
{
    print("\----------------------------------");
    print(" los santos team deathamtch!");
    print("----------------------------------\n");
}