Raised This Month: $ Target: $400
 0% 

Menus [Admin Only]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Baws
Veteran Member
Join Date: Oct 2012
Old 05-15-2014 , 18:38   Re: Menus [Admin Only]
Reply With Quote #8

Thanks. Can you tell me what i did wrong?

Code:
    for( new i = 1 ; i < sizeof g_mChampionData ; i ++ )     {         format( szInfo, charsmax( szInfo ), "%s%s", g_mChampionData[ i ][ NAME ], g_mChampionData[ i ][ VIP ] ? " [\rVIP\w]" : "" );                 if( i < Champion_CLASS_OFS )             menu_additem( g_iMenuClass[ TEAM_ChampionCT ], szInfo );         else                menu_additem( g_iMenuClass[ TEAM_ChampionT ], szInfo );     }

VIP is a bool. In the const, when it's true, in the menu it shows [VIP] but everyone can still chose the item. What's the problem?
__________________
Like my clean plugins and work?

Last edited by Baws; 05-15-2014 at 18:38.
Baws 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 09:38.


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