Crash detect
#1

Hello guys , i installed Crash detect plugin into my game mode
And i am getting this error :
Код:
[14:26:31] [debug] Run time error 4: "Array index out of bounds"
[14:26:31] [debug]  Accessing element at index 65535 past array upper bound 499
[14:26:31] [debug] AMX backtrace:
[14:26:31] [debug] #0 00014d54 in public OnPlayerDeath () from teehee.amx
I've increased all arrays under onplayerdeath but still , why then?
Can i even ignore this ?
Reply
#2

BUMP
Reply
#3

pawn Код:
new array[MAX_PLAYERS]; // MAX_PLAYERS = 500

public OnPlayerDeath(playerid,killerid,reason)
{
    array[killerid]++;
    return 1;
}
if player died ( /kill or blows up ) killerid is INVALID_PLAYER_ID -> 65535
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)