Put Ham_TookDamage in a function
I need to get Ham_TookDamage activated ONLY if they bought from a menu.
PHP Code:
|
Re: Put Ham_TookDamage in a function
Use a var since you can't (un)activate depending a player. (because registered by class)
|
Re: Put Ham_TookDamage in a function
What you mean by using a var? (What is a var, like Cvar?)
I thought of using a bool. Like: PHP Code:
|
Re: Put Ham_TookDamage in a function
Ye, boolean is a one type of a var. Var means variable.
|
Re: Put Ham_TookDamage in a function
You cant return PLUGIN_* on Ham forwards check ham_const.inc
|
Re: Put Ham_TookDamage in a function
try this
PHP Code:
|
Re: Put Ham_TookDamage in a function
It was not because it wasen't working :)
|
| All times are GMT -4. The time now is 15:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.