[01:43:16] [debug] Run time error 4: "Array index out of bounds" [01:43:16] [debug] Accessing element at negative index -1 [01:43:16] [debug] AMX backtrace: [01:43:16] [debug] #0 0016b508 in public OnDialogResponse () from GamemodeFreeroam.amx [01:43:17] Warning: PlayerDialogResponse PlayerId: 4 dialog ID doesn't match last sent dialog ID [01:43:47] [debug] Run time error 6: "Invalid instruction" [01:43:47] [debug] Unknown opcode 0x7800 at address 0xFFFFFFFF [01:43:47] [debug] AMX backtrace: [01:43:47] [debug] #0 ffffffff in public OnFilterScriptExit () from GamemodeFreeroam.amx [01:43:55] --- Server Shutting Down. [01:43:55]
public OnVehicleSpawn(vehicleid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnEnterExitModShop(playerid, enterexit, interiorid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; }
My OnDialogResponse is long, more or less 700 lines.. I just want to understand on what comes..
*sorry my bad english |
The code you provided us is fine, why did you even post it in the first place ?
|
[01:43:16] [debug] Run time error 4: "Array index out of bounds" [01:43:16] [debug] Accessing element at negative index -1 [01:43:16] [debug] AMX backtrace: [01:43:16] [debug] #0 0016b508 in public OnDialogResponse () from GamemodeFreeroam.amx [01:43:17] Warning: PlayerDialogResponse PlayerId: 4 dialog ID doesn't match last sent dialog ID