OnplayerDeath and OnPlayerTakeDamage - Array index out of bounds
#3

You should always check if killerid or issuerid is a valid player. If it's not a valid player, killerid and issuerid will be INVALID_PLAYER_ID (which is 0xFFFF, or 65536 - hence the array index out of bounds error at index 65536).
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)