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?
__________________