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
souvikdas95
Senior Member
Join Date: Mar 2012
Old 07-23-2014 , 16:17   Re: Required Code for Ham_TakeDamage to get proper Damage
Reply With Quote #6

@Arkshine - I searched. But I couldn't find the exact thing. Anyways, so you mean I should get the entity's value of pev_dmg_take inside TakeDamage Post Function and ignore Float:damage parameter?

PHP Code:
    static iDamage;
    
iDamage floatround entity_get_float victimEV_FL_dmg_take ), floatround_floor ); 

Last edited by souvikdas95; 07-23-2014 at 16:32.
souvikdas95 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