how to check if menu is open ?
Hi,
I want to know what is best method to check if menu is still open for player example : PHP Code:
I know it's easy but I'm new to pawn. |
Re: how to check if menu is open ?
PHP Code:
|
Re: how to check if menu is open ?
1more question , it is possible to use menu_destroy before show_menu (empty) if yes explain please:
Example: PHP Code:
Thanks |
Re: how to check if menu is open ?
|
Re: how to check if menu is open ?
If the menu / menu items are contansts then destroying the menu and creating it each time Isnt efficient instead just create it one time and destroy it when you got no use for it (one time use per map)
Also you need a valid newmenu id to destroy otherwise it will throw an error. |
Re: how to check if menu is open ?
thanks it solved.
|
| All times are GMT -4. The time now is 17:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.