As per the title I'd like to know when someone tags the patrol heli, I'm looking at:
void OnPlayerAttack(BasePlayer attacker, HitInfo info) {
Puts("OnPlayerAttack works!");
}With a view to getting the entity name from the info - just not sure how?
Also, I don't want to bog down the sever, is this a bad way to get this info, I can imagine it'll have to handle alot of false hits before it gets a heli tag, then I assume it'll get triggered alot while heli is being shot down? Will this approach cause any issues/lag?
Thanks in advance.