Use MENU one time per round.
Please give me an example of using menu one time per round.(posting the code would be helpful)
Best regards, daniel. |
Re: Use MENU one time per round.
You can use bool which you set to true at the menu's command ( where you open it ) and set it to false at the new round. Don't forget to open the menu only if the bool is false.
|
Re: Use MENU one time per round.
Quote:
Thanks. |
Re: Use MENU one time per round.
Working with booleans isn't hard.. Search for Emp`'s tutorials - pawn picture tutorial and you may want to see his menu tutorial.
Edit: the bool should be set to true at the menu's handler not at the menu command function. |
Re: Use MENU one time per round.
Here a pseudocode:
PHP Code:
You should be using booleans for that, as already said. |
| All times are GMT -4. The time now is 05:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.