Thread
:
[Snippet] TF2 Damage
View Single Post
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
07-15-2008 , 18:10 Re: [Snippet] TF2 Damage
#
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
View Public Profile
Find More Posts by DJ Tsunami