Raised This Month: $ Target: $400
 0% 

menu callback problem?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-13-2012 , 07:40   Re: menu callback problem?
Reply With Quote #4

PHP Code:
        if( CheckMaxPointid) )
            
formatexszOptioncharsmaxszOption ), "%s ( Razvio si do max )"g_szBonusNames] );
        else
            
formatexszOptioncharsmaxszOption ), "%s ( Razvijas do %d poena )"g_szBonusNames], g_iMaxSkill] );
            
        
menu_additemiMenuszOption__cb ); 
If you already know if player can use or not the item, instead of a callback, just use menu_addtext when item is disabled, instead of menu_additem.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 05:45.


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