controling variables with menu
PHP Code:
Quote:
If OPTION1 [OFF] then option1 == false, iš [ON], then option1 == true. Same goes with option2. Also can change value of cvar multible times. Menu closes when you press 9 or 0. |
Re: controling variables with menu
You simply need to format the string for the menu item based on the value of the boolean.
|
Re: controling variables with menu
PHP Code:
|
Re: controling variables with menu
Quote:
Code:
if you didnt index the boolean then there would be only one on/off for anyone using that.. then anyone could turn on/off the option. this way you can set individual settings on each index. |
| All times are GMT -4. The time now is 23:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.