Array out of bound OnPlayerTakeDamage
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
Check if issuerid is valid BEFORE using it as an array index. Players can also take damage from falling and other "natural" sources.
So i can simply add "&& issuerid != INVALID_PLAYER_ID" and should be ok..

I'll update you

p.s.
i sow that i made a big error.. i must check the issuer weapon not the player weapon <.<
Reply


Messages In This Thread
Array out of bound OnPlayerTakeDamage - by AaronJ - 30.06.2016, 19:55
Re: Array out of bound OnPlayerTakeDamage - by Runn3R - 30.06.2016, 20:06
Re: Array out of bound OnPlayerTakeDamage - by Vince - 30.06.2016, 20:27
Re: Array out of bound OnPlayerTakeDamage - by AaronJ - 30.06.2016, 22:15

Forum Jump:


Users browsing this thread: 2 Guest(s)