13.05.2015, 20:18
Quote:
[16:32:15] [debug] Accessing element at index 65535 past array upper bound 499
[16:32:15] [debug] AMX backtrace: [16:32:15] [debug] #0 00032a60 in ?? (39, 65535, 53) from GM.amx [16:32:15] [debug] #1 00006044 in public OnPlayerDeath (39, 65535, 53) from GM.amx OnPlayerDeath was called with the parameters you see above. The killerid is 65535 (which is an INVALID_PLAYER_ID, because I guess your MAX_PLAYERS is 500). In this scenario, this simply means there is no killer. However, your code assumes there is one because some method calls do not check if the killerid is invalid, such as: PHP код:
|