Raised This Month: $ Target: $400
 0% 

Ham_TakeDamage plugin priority?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-08-2010 , 10:19   Ham_TakeDamage plugin priority?
Reply With Quote #1

I'm not very sure about one thing.

Let's say I have two plugins:

damage1.amxx
damage2.amxx

which are loaded at the same order.

damage1 contains:

if(weapon == CSW_M4A1)
SetHamParamFloat(4, Damage * 1.2)

damage2 contains:

if(skill == 3)
SetHamParamFloat(4, Damage * 1.3)

and I do with M4A1 about 30 dmg, while skill is equal to three. Will Ham handle it like this:

30 * 1.2 * 1.3?
and the shot will deal about 46 damage?

Thanks for replies.
Backstabnoob 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 07:10.


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