Raised This Month: $ Target: $400
 0% 

[Snippet] TF2 Damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-15-2008 , 18:10   Re: [Snippet] TF2 Damage
Reply With Quote #4

@bl4nk: good point... You can hook medipacks being picked up, but you can't hook the resupply cabinet being used, so I'm not sure how to do the latter (other than a continuous check). naris' code didn't do this either though did it?

@berni: It's not limited to TF2, the point is that TF2 doesn't send the damage done in the player_hurt event, like most other mods do. This stores their previous health so you can get the damage done.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 07-15-2008 at 18:17.
DJ Tsunami 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 18:12.


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