Raised This Month: $ Target: $400
 0% 

set_user_hp by attacker damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-18-2013 , 19:02   Re: set_user_hp by attacker damage
Reply With Quote #1

Need to hook Ham_TakeDamage and to lower damage amount using HamSetParamFloat or SetHamParamFloat

SetHamParamFloat(4, damage * (1.0 - RESIST_AMOUT))


Btw, in which plugin do you want to include this ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



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:23.


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