Raised This Month: $ Target: $400
 0% 

Doubt about ham take damage (Ham_TakeDamage)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
esenrik
Senior Member
Join Date: Jul 2010
Old 06-15-2018 , 06:37   Doubt about ham take damage (Ham_TakeDamage)
Reply With Quote #1

Hello. The last days I'm asking myself something...

What's happens if I have multiple plugins with Ham_Takedamage and a SetHamParamFloat for damage in each?.

For example

Plugin 1 (just pseudocode for understanding):

Quote:
In Ham_Takedamage: SetHamParamFloat(4, 200)
return HAM_IGNORED;
Plugin 2 (just pseudocode for understanding):

Quote:
In Ham_Takedamage: SetHamParamFloat(4, 500)
return HAM_IGNORED;
Which will be the final damage that will receive the victim?? The plugin 1 damage or plugin 2 damage?

Thanks you.

Last edited by esenrik; 06-15-2018 at 06:37.
esenrik 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 04:38.


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