Formatex
Example:
Menu. 1. Godmode [ON] \ [OFF] My question is, how do you do it in formatex if a player presses 1, it sets to ON or OFF. How to do it in the handler aswell? |
Re: Formatex
Quote:
|
Re: Formatex
can you give me an example? also, on the handler. if he presses 1 and its on, it turnes on, but if it's off, it turns off aswell
|
Re: Formatex
in old menu style ofcourse
PHP Code:
|
Re: Formatex
like this?
PHP Code:
|
Re: Formatex
PHP Code:
|
Re: Formatex
if you use the new menu system, use the callback function menu_makecallback and menu_item_setname with the given golbal var !
|
| All times are GMT -4. The time now is 07:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.