Set Damage
How can I set the damage we receive (other than SetHamParamFloat)
|
Re: Set Damage
SetHamParamFloat it's the only good way via Ham module, there's no reason to not use it.
|
Re: Set Damage
@theEsp Can you send your public? I guess my public places wrong
|
Re: Set Damage
Then send yours and we'll tell you what's wrong. You're the one requesting for help.
|
Re: Set Damage
I guess victim attacker and infilictor is wrong
PHP Code:
|
Re: Set Damage
SetHamParamFloat is what you should use. Are you testing with bots? If yes, you also need to register the ham for bots https://forums.alliedmods.net/showthread.php?t=294861 or https://forums.alliedmods.net/showpo...5&postcount=20.
Otherwise post whole plugin code, we can't guess what these variables mean. |
Re: Set Damage
Quote:
https://www.amxmodx.org/api/hamsandwich/RegisterHam Code:
native HamHook:RegisterHam(Ham:function, const EntityClass[], const Callback[], Post=0, bool:specialbot = false); |
Re: Set Damage
Older versions of amxmodx doesn't have the specialbot parameter.
|
Re: Set Damage
@CrazY. Oh I understand I guess . Topic solved
|
Re: Set Damage
Keep in mind that increasing the damage doesn't result in that exact loss in HP to the victim. Damage is offsetted by armor that the victim may have.
E.g. Inflicting 10.5 extra in damage will not always result in additional -10.5 hp loss. |
| All times are GMT -4. The time now is 17:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.