menu destroy
hi all, i need help. this script remove menu from all CT players if i say /menudestroy but dont work, where is wrong?
Code:
public menu_destroy (id, menu) |
Re: menu destroy
A good start would be to name your function something other than menu_destroy..
|
Re: menu destroy
Humm,
First : If you don't want the menu to be displayed for TEAM_CT, you may add that code on menu function : Example : Code:
public tonda(id)http://forums.alliedmods.net/showthread.php?t=46364 <-- New amx menu style. Regards I hope i helped you :) |
Re: menu destroy
menu_destroy will NOT remove it from your screen. It disables it's function and releases the memory resource.
|
Re: menu destroy
To hide a menu, you should use:
Code:
show_menu(id, 0, "^n", 1); |
Re: menu destroy
Or if you don't want CT's to see it you can do this rather than what MyDoom posted:
Code:
|
| All times are GMT -4. The time now is 02:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.