menu_destroy
How to destroy menu correctly, because right now the menu is still seen by players, but if they choose something, nothing happens and menu disappears. I want the menu to disappear after 10seconds.
I've got this: PHP Code:
PHP Code:
PHP Code:
client_cmd(id, "slot10"), because I've disabled EXIT option in menu :) |
Re: menu_destroy
menu_cancel(id)
|
Re: menu_destroy
Note that if you set id parameter in set_task to id + 672, and then just directly use the taskid in the called function; it will throw an error.
Done correctly: Code:
|
Re: menu_destroy
Full Complete Code
PHP Code:
|
Re: menu_destroy
It's the same... He removes 642 from the index, and the result is the player index.
|
Re: menu_destroy
It's true xd
to close menu: PHP Code:
|
Re: menu_destroy
You have to destroy the menu, aka clear memory.
Clean player hud is another thing. Without your code, it's hard to guess where to add what... |
Re: menu_destroy
Well I think I already fixed it.
|
Re: menu_destroy
You need to read the ENTIRE tutorial (or at least be smart about what sections you do read).
|
| All times are GMT -4. The time now is 19:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.