Raised This Month: $ Target: $400
 0% 

Setting the same TraceLine twice


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 09-03-2008 , 13:24   Re: Setting the same TraceLine twice
Reply With Quote #3

Well, I want that when a player attacks an enemy and hit him, it will also damage the nearest player to the enemy (if the nearest player is an enemy as well). So I wanted to make sure it will hit the original target for 100%, along with the nearest enemy to the victim.

Or maybe I can simply get the damage of the attack from Ham_TakeDamage and use: set_user_health(ent, get_user_health(ent) - damage)?
__________________
O o
/¯________________________
| IMMA FIRIN' MAH LAZOR!!!
\_¯¯¯

Last edited by Dores; 09-03-2008 at 13:26.
Dores 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 03:10.


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