SA-MP Forums Archive
Pink Panthers's Gamemode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Pink Panthers's Gamemode (/showthread.php?tid=597917)



Pink Panthers's Gamemode - zProfessional - 06.01.2016

Hello,
Why I'm Getting this error?
Quote:

[11:28:19] Script[gamemodes/npcs.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[11:28:19] Number of vehicle models: 0

anyone please tell me


Re: Pink Panthers's Gamemode - zProfessional - 06.01.2016

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
Код:
main( ) { }
What?


Re: Pink Panthers's Gamemode - zProfessional - 07.01.2016

Should I correct them with { } ??ї


Re: Pink Panthers's Gamemode - graef - 07.01.2016

YOu need to write
Код:
main( ) { }
everywhere in your code, then compile it.

Every program need entry point. main() is main entry point for PAWN.

You can make leave it empty. it will called first when your gamemode loaded, just like OnGameModeInit.