Raised This Month: $ Target: $400
 0% 

Teamspecific FriendlyFire


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-24-2010 , 15:56   Re: Teamspecific FriendlyFire
Reply With Quote #1

Instead of returning HAM_SUPERCEDE, try setting the damage to 0.
Code:
SetHamParamFloat( 4, 0.0 );
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-24-2010 , 17:17   Re: Teamspecific FriendlyFire
Reply With Quote #2

Hook TraceAttack, blood AND TakeDamage are sent from there.
TraceAttack is not called when damage is made by a nade though.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Schwabba
Senior Member
Join Date: Apr 2008
Old 11-27-2010 , 02:54   Re: Teamspecific FriendlyFire
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
Instead of returning HAM_SUPERCEDE, try setting the damage to 0.
Code:
SetHamParamFloat( 4, 0.0 );
That was'nt working, the blood is still there and it's really like you get hitted, means maxspeed changes, you hear a sound that you got hitted etc.

Quote:
Originally Posted by ConnorMcLeod View Post
Hook TraceAttack, blood AND TakeDamage are sent from there.
TraceAttack is not called when damage is made by a nade though.
This works better, it made exactly what i want.


Thx Guys!
Schwabba is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode