[HELP] DEBUG OnPlayerDeath
#1

How solve this problem?

[09:20:05] [debug] Run time error 4: "Array index out of bounds"
[09:20:05] [debug] Accessing element at index 65535 past array upper bound 149
[09:20:05] [debug] AMX backtrace:
[09:20:05] [debug] #0 00016a28 in public OnPlayerDeath () from eXtream.amx

Check OnPlayerDeath in GameMode:

http://pastebin.com/GvAySsQS
Reply
#2

Just check if the killerid is not invalid player id.
pawn Код:
if(killerid != INVALID_PLAYER_ID)
{
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)