11.09.2012, 11:48
Hi guys, this is my first topic.
I have a problem with my gamemode, if I do not put all the callback , the server crashes.
..and I also have a problem that I can not understand with the OnDialogResponse..
This is log :
I have put in the gamemode this :
someone can help me? Thanks in advance, bye!
I have a problem with my gamemode, if I do not put all the callback , the server crashes.
..and I also have a problem that I can not understand with the OnDialogResponse..
This is log :
Код:
[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;
}


