26.11.2014, 13:48
INVALID_PLAYER_ID is defined as 65535.
In some circumstances, OnPlayerDeath is called with the killerid parameter set to INVALID_PLAYER_ID (aka 65535).
In your code, there is an instance of accessing some array of size 500 cells (MAX_PLAYERS) at index 65535, which is past its upper index 499.
Look for something like
array[killerid]
where you have not made sure that killerid is something else than INVALID_PLAYER_ID.
In some circumstances, OnPlayerDeath is called with the killerid parameter set to INVALID_PLAYER_ID (aka 65535).
In your code, there is an instance of accessing some array of size 500 cells (MAX_PLAYERS) at index 65535, which is past its upper index 499.
Look for something like
array[killerid]
where you have not made sure that killerid is something else than INVALID_PLAYER_ID.