SA-MP Forums Archive
?Whats this please? - 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: ?Whats this please? (/showthread.php?tid=136714)



?Whats this please? - tony_montana1333 - 26.03.2010

Hi every thing works fine and you can play the server but i get this error or warning in my logs can someone tell me what it might be,

[08:13:31] Script[gamemodes/testserver.amx]: Run time error 20: "Invalid index parameter (bad entry point)"


Re: ?Whats this please? - Correlli - 26.03.2010

You forgot to put the function main() in your script.

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



Re: ?Whats this please? - tony_montana1333 - 26.03.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.");
}
lol thanks man