Damage friend fire
Hello, I wish you could Toggle friendly fire but none cause any damaged a Player Is Possible ? , In any case only of the effect of beating and to draw blood
|
Re: Damage friend fire
What?
|
Re: Damage friend fire
Sure you can, just hook Ham_TakeDamage, check player's teams and return HAM_SUPERCEDE to block the damage.
Something like: PHP Code:
|
Re: Damage friend fire
Week , do you think it were more realistic to add aso some slap efect, i mean that player knows that he is being hit by teammate. I think it would be awesome :)
|
Re: Damage friend fire
I think he wants only effects to take place (blood, punch, pain sound), but only block the damage.
That's why, Safetymoose, instead of completely blocking the TakeDamage call with HAM_SUPERCEDE, null the damage. I guess that should work. PHP Code:
|
| All times are GMT -4. The time now is 18:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.