05.12.2010, 19:32
(
Последний раз редактировалось universe; 05.12.2010 в 19:58.
)
I'm working on a script catching the scripts from the wiki, and editing them and trying to understand. When i start the server with my gm it says, runtime eror 22 no index or something like that, whats bad?
ERORR: Script[gamemodes/learn.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
ERORR: Script[gamemodes/learn.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
Quote:
/*--------------------------------- Includes ---------------------------------*/ #include <a_samp> /*--------------------------------- End Includes -----------------------------*/ /*--------------------------------- TextDraws Id's ---------------------------*/ new Text:hello; /*--------------------------------- End TextDraws Id's -----------------------*/ public OnGameModeInit() { hello = TextDrawCreate(240.0,580.0," Hello Player!"); TextDrawColor(hello,0x000000FF); return 1; } public OnPlayerConnect(playerid) { TextDrawShowForPlayer(playerid,hello); return 1; } |