OnPlayerTakeDamage [+REP]
#3

It's because you don't check if issuerid is a valid ID, therefore when you damage yourself by falling for example the issuerid is going to be 65535 instead of an id that's inside the array bounds (specified in this case MAX_PLAYERS aka 1000).
Reply


Messages In This Thread
OnPlayerTakeDamage [+REP] - by arlindi - 20.05.2015, 18:44
Re: OnPlayerTakeDamage [+REP] - by Konstantinos - 20.05.2015, 18:46
Re: OnPlayerTakeDamage [+REP] - by vyper - 20.05.2015, 18:48
Re: OnPlayerTakeDamage [+REP] - by arlindi - 20.05.2015, 18:48
Re: OnPlayerTakeDamage [+REP] - by vyper - 20.05.2015, 18:50
Re: OnPlayerTakeDamage [+REP] - by arlindi - 20.05.2015, 18:51
Re: OnPlayerTakeDamage [+REP] - by Konstantinos - 20.05.2015, 18:53
Re: OnPlayerTakeDamage [+REP] - by vyper - 20.05.2015, 18:55
Re: OnPlayerTakeDamage [+REP] - by arlindi - 20.05.2015, 18:55
Re: OnPlayerTakeDamage [+REP] - by rappy93 - 20.05.2015, 19:00

Forum Jump:


Users browsing this thread: 1 Guest(s)