Raised This Month: $ Target: $400
 0% 

Teamspecific FriendlyFire


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Schwabba
Senior Member
Join Date: Apr 2008
Old 11-27-2010 , 02:54   Re: Teamspecific FriendlyFire
Reply With Quote #4

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
 



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