SA-MP Forums Archive
server error (bad entry point) - 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: server error (bad entry point) (/showthread.php?tid=302336)



server error (bad entry point) - scottygraham1990 - 08.12.2011

hey im getting the error and i dnt no what it is can any one help thx

invalid index parameter (bad entry point)


Re: server error (bad entry point) - Oh - 08.12.2011

Add
Quote:

main() { }

to your script, and it'll work fine.

(searched and found that)


Re: server error (bad entry point) - scottygraham1990 - 08.12.2011

Quote:
Originally Posted by Oh
Посмотреть сообщение
Add

to your script, and it'll work fine.

(searched and found that)
you mean add it at the top of my gamemode


Re: server error (bad entry point) - Oh - 08.12.2011

Right after you define everything.

pawn Код:
new Timer[MAX_PLAYERS];
    new TCamara[MAX_PLAYERS];
    new Choque[MAX_PLAYERS];
    new Text: FlashR;

    main()
    {
        print("         script loaded       ");
    }



Re: server error (bad entry point) - scottygraham1990 - 08.12.2011

Quote:
Originally Posted by Oh
Посмотреть сообщение
Right after you define everything.

pawn Код:
new Timer[MAX_PLAYERS];
    new TCamara[MAX_PLAYERS];
    new Choque[MAX_PLAYERS];
    new Text: FlashR;

    main()
    {
        print("         script loaded       ");
    }
thx i that got rid of the error but now i cnt use any of the gamemode cmds and i don't get any errors


Re: server error (bad entry point) - Oh - 08.12.2011

What're you using for commands?


Re: server error (bad entry point) - scottygraham1990 - 08.12.2011

Quote:
Originally Posted by Oh
Посмотреть сообщение
What're you using for commands?
i found what is up with it one of the includes but is willnot work coz i have sum files missing from my pc so im redoing my pc thx any ways