Raised This Month: $ Target: $400
 0% 

Get damage to armor


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ZeaLot
New Member
Join Date: May 2006
Old 05-20-2006 , 13:45   Get damage to armor
Reply With Quote #1

Hello, the basic problem is this:

I want to get the damage done to armor when someone gets hit. According to documentation I know 2 ways how to capture it:
Damage event (via register_event)
Damage message (via register_message)

In both cases, when my function gets called, the first argument, as I understand, is supposed to be the damage done to armor, and the second is the damage done to health.

Everything works fine with health. However, the armor variable is always 0. Is it a bug? Or have I missed something?

Wanted to pratice some CS to improve my skill. So figured to use the Headshot plugin, but didn't like it because it doesn't show the damage received which is NOT a headshot. Perhaps I'm trying to re-invent a bicycle by writing the plugin myself and there is already such a plugin available? [Couldn't find one ]
ZeaLot is offline
 


Thread Tools
Display Modes

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 16:34.


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