Raised This Month: $ Target: $400
 0% 

menu_destroy


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 09-21-2011 , 11:27   menu_destroy
Reply With Quote #1

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:
new menu
PHP Code:
set_task(10.0"DestroyMenu"id 672
PHP Code:
public DestroyMenu(id)
{
    
menu_destroy(menu)

Can't destroy it via player cmd like this:

client_cmd(id, "slot10"), because I've disabled EXIT option in menu
reinert is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode