Disable blood animation.
Hi there
I'm trying to help someone out with the following. I've got this code, but it's only working on the first hit. Also, the animation isn't removed, the color just turns black. PHP Code:
PHP Code:
|
Re: Disable blood animation.
Maybe this will help
PHP Code:
|
Re: Disable blood animation.
You switched the return values:
Code:
Code:
|
Re: Disable blood animation.
Quote:
Also, i realized this part: Code:
Disabling Hooks |
Re: Disable blood animation.
Quote:
Example: You hook Ham_Spawn with RegisterHam. In return, you get a unique index for that hook. You can enable or disable that hook if a boolean is true or false. If the boolean is true, you could enable the hook and at next player spawn it will be called, otherwise, you could disable the hook and at next player spawn it won't be called. P.S.: It won't stop the function Ham_Spawn from being called, only your hook. If you didn't understood, I will leave a code example later. |
Re: Disable blood animation.
Stopping blood on individual stab basis but leaving it on otherwise for all other 'hits'?
PHP Code:
|
| All times are GMT -4. The time now is 11:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.