Ham_TakeDamage
I have a simple question,
Why this code works Code:
public plugin_init()Code:
new HamHook:HamForward; |
Re: Ham_TakeDamage
The forward is enabled by default. If you want to use EnableHamForward, you must first disable the forward
|
Re: Ham_TakeDamage
I try
Code:
DisableHamForward(HamForward = RegisterHam(Ham_TakeDamage, "player", "ham_playertakedamage", 0)); |
Re: Ham_TakeDamage
DisableHamForward(HamForward);
|
Re: Ham_TakeDamage
Yes I do this, but not work too.
Code:
public plugin_init() |
Re: Ham_TakeDamage
What is "not working" exactly ? You are unclear.
|
Re: Ham_TakeDamage
Let me explain: on 2º code the damage should be zero on round end.
|
Re: Ham_TakeDamage
Now it works lol, I must script something wrong, but thanks for the help!
|
Re: Ham_TakeDamage
You have to disable the forward on init and roundend. Then enable it on roundstart
|
| All times are GMT -4. The time now is 06:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.