CrashDetect Plugin help
#1

how to fix this

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
        SInfo[killerid][pKills]++;
        SInfo[playerid][pDeaths]++;
        SendDeathMessage(killerid, playerid, reason);
        return 1;
}

Код:
[02:10:56] [debug] Run time error 4: "Array index out of bounds"
[02:10:56] [debug]  Accessing element at index 65535 past array upper bound 31
[02:10:56] [debug] AMX backtrace:
[02:10:56] [debug] #0 00020880 in public OnPlayerDeath () from gadmin.amx
[02:10:56] [death] [HSF]Faour died 54
[02:11:23] [debug] Run time error 4: "Array index out of bounds"
[02:11:23] [debug]  Accessing element at index 65535 past array upper bound 31
[02:11:23] [debug] AMX backtrace:
[02:11:23] [debug] #0 00020880 in public OnPlayerDeath () from gadmin.amx
[02:11:23] [death] [HSF]Faour died 54
Reply
#2

pawn Код:
SInfo[killerid][pKills] ++;
SInfo[playerid][pDeaths] ++;
Reply
#3

Quote:
Originally Posted by RedJohn
Посмотреть сообщение
pawn Код:
SInfo[killerid][pKills] ++;
SInfo[playerid][pDeaths] ++;
fail

Код:
[13:42:52] [debug] Run time error 4: "Array index out of bounds"
[13:42:52] [debug]  Accessing element at index 65535 past array upper bound 31
[13:42:52] [debug] AMX backtrace:
[13:42:52] [debug] #0 00020980 in public OnPlayerDeath () from gadmin.amx
[13:42:52] [death] [HSF]Faour died 54
Reply
#4

cmon guys help me
Reply
#5

pawn Код:
if(killerid != INVALID_PLAYER_ID)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)