SA-MP Forums Archive
gamemod wont load - 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: gamemod wont load (/showthread.php?tid=299890)



gamemod wont load - Gooday - 27.11.2011

Hi, my GM won't load!

i got a error:
Runtime error 20: "Invalid index Parameter <Bad entry point>
Number of vehic....

please help!


Re: gamemod wont load - Kostas' - 27.11.2011

Add
pawn Код:
main() { }
to your script
Example
pawn Код:
main() { }

public OnGameModeInit()
{
    // Code
    return 1;
}

public OnGameModeExit()
{
    // Code
    return 1;
}
// Rest Of Code



Re: gamemod wont load - Gooday - 27.11.2011

i already go this, but the pwn of my GM is 48 k and the amx 8 kb O.o


Re: gamemod wont load - Kostas' - 27.11.2011

go?
Do you mean *do*. Dude, this error was caused because you are missing this of your script.
pawn Код:
main() { }
just add it, before
pawn Код:
public OnGameModeInit()
{
    // Code
    return 1;
}