Raised This Month: $ Target: $400
 0% 

Required Code for Ham_TakeDamage to get proper Damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-23-2014 , 15:56   Re: Required Code for Ham_TakeDamage to get proper Damage
Reply With Quote #5

To get the real damage done (after calculation armor, weapon power, etc), you need to hook TakeDamage as post, and retrieve value of pev_dmg_take, which is used by Damage event after.

Please search before posting, already asked/answered many times, and stop with your weird request/assumptions each time. :/

Quote:
which is quite a big difference
Quite trivial.
__________________
Arkshine 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 13:03.


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