debug fix OnPlayerDeath [+rep for helper]
#4

You can check if killerid is not INVALID_PLAYER_ID in every function you need to call for killerid.

As an example:

PHP код:
if(killerid != INVALID_PLAYER_ID && InvitedDuel[killerid] == true
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: 1 Guest(s)