Raised This Month: $ Target: $400
 0% 

hook damage to an entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 03-11-2009 , 15:59   hook damage to an entity
Reply With Quote #1

PHP Code:
RegisterHam(Ham_TakeDamage"info_target""fwHam_takeDamage")
...
public 
fwHam_takeDamage() // huh ???
{
      
// ???

I don't have the slightest Ideea on how to make it... I want to check the damade dealt to an solid created entity, get attacker, damage, etc :}

also what pev_ values can I use for custom values on an entity... pev_iuserX are free for this type of usage ? :}
__________________
Hunter-Digital 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 08:59.


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