Raised This Month: $ Target: $400
 0% 

Disable items in the menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 07-29-2009 , 00:45   Re: Disable items in the menu
Reply With Quote #2

PHP Code:
    if(get_pcvar_num(p_test) )
        
menu_additem(Menu"\dTest 3""3", -1)
    else
        
menu_additem(Menu"\wTest 3""3"0
-->

PHP Code:
new item[32]
formatex(itemsizeof(item)-1"%sTest 3"get_pcvar_num(p_test) ? "\w" "\d")
menu_additem(menuitem"3"0
__________________
IneedHelp 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 18:29.


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