Turning off mode
Hi everybody, i got an menu like:
awp mode knife mode vampire mode bullet mode when u turn on a mode like Vampire mode, you get +5hp for kill and +10hp for headshot. but when i turn to awp mode, anyways vampire mode is applied to me, and still im getting +5/+10hp. PHP Code:
|
Re: Turning off mode
use booleans
Code:
new bool:is_vampire_active = falseCode:
is_vampire_active = truePHP Code:
|
Re: Turning off mode
lag
|
Re: Turning off mode
Yes, but the problem is, when i turn off the mode, its still on, on the same round.
like when i choose other mode, the Bullet_Damage action is still working. I need a code that will turn off it or just check the public again after choosing it method. Because it only checks when round starts. |
| All times are GMT -4. The time now is 08:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.