debug fix OnPlayerDeath [+rep for helper]
#3

Quote:
Originally Posted by Troydere
Посмотреть сообщение
killerid returns INVALID_PLAYER_ID if the player does not exist (the player who died was not killed). INVALID_PLAYER_ID is defined as 65535.

Nowhere in your callback you check if killerid is a valid ID, so it tries to apply the functions to the ID 65535 and gives you that error.
How can I fix this thing?
+repped
Reply


Messages In This Thread
debug fix OnPlayerDeath [+rep for helper] - by maaz - 12.03.2017, 07:57
Re: debug fix OnPlayerDeath [+rep for helper] - by Toroi - 12.03.2017, 08:05
Re: debug fix OnPlayerDeath [+rep for helper] - by maaz - 12.03.2017, 08:07
Re: debug fix OnPlayerDeath [+rep for helper] - by Toroi - 12.03.2017, 08:08
Re: debug fix OnPlayerDeath [+rep for helper] - by maaz - 12.03.2017, 08:10

Forum Jump:


Users browsing this thread: 2 Guest(s)