
When I try to compile war3ft.sma in local compiler I have errors like that

And that is my menus.inl ' s part :
Code: Select all
// All other cases
else
{
new bool:bAllowRace = true;
if(i == 9 && !(get_user_flags( id ) & ADMIN_LEVEL_A) )
bAllowRace = false;
// Check to see if the user can choose this race (are there too many of this race?)
if ( bAllowRace )
{
pos += formatex( szMenu[pos], 512-pos, "\w%d. %s\y\R%s^n", i + 1-A, szRaceName[i], ( (get_pcvar_num( CVAR_wc3_save_xp )) ? szXP : " " ) );
iKeys |= (1<<i-A);
}
// If not, display the race, but don't give them a key to press
else
{
pos += formatex( szMenu[pos], 512-pos, "\y%d. %s\y\R%s^n", i + 1-A, szRaceName[i], ( (get_pcvar_num( CVAR_wc3_save_xp )) ? szXP : " " ) );
}
}
}
Am I doing something wrong? Or maybe is there any another way to restrict chameleon only for admin/VIP ?
Please reply.