Raised This Month: $ Target: $400
 0% 

Add fake menu_additem ( New Menus )


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 10-26-2009 , 15:03   Re: Add fake menu_additem ( New Menus )
Reply With Quote #1

In your menu_function():
PHP Code:
menu_additem(menu"Fake menu-link""9"0); 
In your menu_handler():
PHP Code:
switch(item)
{
    case 
9:
    {
        return 
PLUGIN_HANDLED;
    }

Hope it works!
__________________
unnyquee is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 10-26-2009 , 15:21   Re: Add fake menu_additem ( New Menus )
Reply With Quote #2

I don't want it handled, I just want it unpressable :/
__________________
xbatista is offline
Send a message via Skype™ to xbatista
Reply



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 17:44.


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