[HELP] All CallBack or Crash
#1

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 :

Код:
[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]
I have put in the gamemode this :

Код:
 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;
}
someone can help me? Thanks in advance, bye!
Reply


Messages In This Thread
[HELP] All CallBack or Crash - by PryX0G3n - 11.09.2012, 11:48
Re: [HELP] All CallBack or Crash - by Glint - 11.09.2012, 12:02
Re: [HELP] All CallBack or Crash - by PryX0G3n - 11.09.2012, 12:09
Re: [HELP] All CallBack or Crash - by Glint - 11.09.2012, 12:13
Re: [HELP] All CallBack or Crash - by PryX0G3n - 11.09.2012, 12:17
Re: [HELP] All CallBack or Crash - by PryX0G3n - 11.09.2012, 15:13
Re: [HELP] All CallBack or Crash - by PryX0G3n - 11.09.2012, 21:19
Re: [HELP] All CallBack or Crash - by [IKS]Niko_Hs™ - 11.09.2012, 21:41
Re: [HELP] All CallBack or Crash - by PryX0G3n - 11.09.2012, 21:45
Re: [HELP] All CallBack or Crash - by PryX0G3n - 12.09.2012, 10:27

Forum Jump:


Users browsing this thread: 1 Guest(s)