Hey, I need to know how can I disable damage to the player if the attacker is using wrong weapon, for example if he needs to bash but he shoots at the victim.
I think functions like isFiring() and isLookingAt() would help me do it, but whats the function to disable damage to the player that is being looked at, everything else I know already :P
Thanks in advance.