Raised This Month: $ Target: $400
 0% 

menu_display doesn't works good


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-10-2010 , 03:33   Re: menu_display doesn't works good
Reply With Quote #7

Do this:
PHP Code:
public ChatMenu_Handler(id,menu,item)
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(menu)
        return 
PLUGIN_HANDLED
    
}
    
    new 
iData[6]
    new 
iName[64]
    new 
Access
    
new Callback
    menu_item_getinfo
(menu,item,Access,iData,5,iName,63,Callback)
    
    new 
Target str_to_num(iData)
    
cMuted[id][Target] = !cMuted[id][Target]
    
    
menu_destroy(menu)
    
ChatMenuPlayers(id)
    return 
PLUGIN_HANDLED

__________________
fysiks 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 21:52.


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