Crashdetect info.. HELP PLS
#1

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
Reply
#2

Try updating streamer, Also can you show me your OnPlayerConnect.
Reply
#3

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)