Crashdetect info.. HELP PLS - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Crashdetect info.. HELP PLS (
/showthread.php?tid=607947)
Crashdetect info.. HELP PLS -
kexy96 - 25.05.2016
Hi all! WHAT IS THIS?
Код:
[23:44:12] [debug] Run time error 4: "Array index out of bounds"
[23:44:12] [debug] Accessing element at index 46 past array upper bound 45
[23:44:12] [debug] AMX backtrace:
[23:44:12] [debug] #0 0000b900 in public Streamer_OnPlayerConnect (0) from prexrp.amx
[23:44:12] [debug] #1 native CallLocalFunction () from samp-server.exe
[23:44:12] [debug] #2 0000735c in public Itter_OnPlayerConnect (0) from prexrp.amx
[23:44:12] [debug] #3 native CallLocalFunction () from samp-server.exe
[23:44:12] [debug] #4 000063fc in public SSCANF_OnPlayerConnect (0) from prexrp.amx
[23:44:12] [debug] #5 000007e0 in public OnPlayerConnect (0) from prexrp.amx
Re: Crashdetect info.. HELP PLS -
oMa37 - 25.05.2016
Try updating streamer, Also can you show me your OnPlayerConnect.
Re: Crashdetect info.. HELP PLS -
kexy96 - 25.05.2016
hmm
Problem:
for(new weapon = 0; weapon <= MAX_WEAPONS; weapon++)
{
Ammo[playerid][weapon] = 0;
}
But solved:
for(new weapon = 0; weapon < MAX_WEAPONS; weapon++)
{
Ammo[playerid][weapon] = 0;
}