Jump to content
Sign in to follow this  
jipeto

Friendly fire issue

Recommended Posts

Hi,

Does someone knows if there's a way to make the friendly fire as a reflect fire.

If you shoot at a friend, you take the damage and not him.

Thx

Share this post


Link to post
Share on other sites

I guess you could register who hit who with an addEventHandler with a hit and/or killed hook.

I believe they should return damage, injured person and shooter.

and then use setdamage to injure the shooter and also if you want to heal the injured person.

you'll have to piece it together I'm afraid. good luck.

Edited by wamingo

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×