Hey.
Ich bekomme über das Crashdetect-plugin folgende Fehler:
Code
[11:01:45] [debug] Run time error 4: "Array index out of bounds"
[11:01:45] [debug] Accessing element at index 64 past array upper bound 63
[11:01:45] [debug] AMX backtrace:
[11:01:45] [debug] #0 00013260 in public SSCANF_OnGameModeInit () at H:\Games\GTA\server_files\Script\SAMP Server\gamemodes\reallife.pwn:1508
[11:01:45] [debug] #1 00003490 in public Streamer_OnGameModeInit () at H:\Games\GTA\server_files\pawno\include\sscanf2.inc:118
[11:01:45] [debug] #2 native CallLocalFunction () [080d2870] from samp03svr
[11:01:45] [debug] #3 000028a0 in public OnGameModeInit () at H:\Games\GTA\server_files\pawno\include\streamer.inc:323
Es handelt sich um einen Debian 6 64 Bit Server.
Zeile 1506-1510
for(new i=0; i<=sizeof(Tankstellen); i++) //Tankstellen Pickups Laden
{
CreateDynamicPickup(1239,23,Tankstellen[i][0], Tankstellen[i][1], Tankstellen[i][2],0);
Create3DTextLabel("Zapfsäule\nBefehl: /tanken",FARBE_BLAU, Tankstellen[i][0], Tankstellen[i][1], Tankstellen[i][2],10,0,0);
}
Ich hoffe Ihr könnt mir helfen