Page 1 of 1
[REQ] /noicons
Posted: Thu Jan 25, 2007 9:36 pm
by kp_downarrow
can u make say /icons enable the icons
and say /noicons disable
instead of toggling with the same command?
Posted: Thu Jan 25, 2007 9:48 pm
by Geesu
then people have to know 2 commands..... that's just how it works...
I don't want to change it now
Posted: Thu Jan 25, 2007 10:08 pm
by kp_downarrow
it is because people are not useing these commands
i love the icons, its helpful and not distracting
so exec /icons will take the people who have on to off, tahts y i want 2 commands
Posted: Fri Jan 26, 2007 12:30 am
by Geesu
I see what you're saying... you could always just have it default to on in the sourcecode?
Posted: Fri Jan 26, 2007 3:34 pm
by mexykanu
so if you "alias" /noicons = exec XXX /icons then if he will say /noicons again they will reappear, right ?

Posted: Fri Jan 26, 2007 7:58 pm
by kp_downarrow
um.. no, say /noicons to turn them off, say /icons to thurn them on
Posted: Fri Jan 26, 2007 8:28 pm
by kp_downarrow
[small] else if ( CMD_Equal( id, szCmd, "icons" ) )
{
// Sprites not enabled or icons are disabled
if ( !g_bExtraSpritesEnabled || ( !get_pcvar_num( CVAR_wc3_race_icon ) && !get_pcvar_num( CVAR_wc3_level_icon ) ) )
{
client_print( id, print_center, "%L", id, "ICONS_ARE_DISABLED" );
}
// We at least have one of the icon options enabled (race or level)
else
{
p_data[id][P_SHOWICONS] = true;
client_print( id, print_center, "%L", id, "NOW_SEE_ICONS" );
CS_SetIcon( id );
}
}
else if ( CMD_Equal( id, szCmd, "noicons" ) )
{
p_data[id][P_SHOWICONS] = false;
client_print( id, print_center, "%L", id, "NO_LONGER_SEE_ICONS" );
CS_SetIcon( id );
}
[/small]
is this good? the quotes are not working
and whats cs_seticon(id)
what file is it in?
Posted: Fri Jan 26, 2007 9:14 pm
by Geesu
yes that would work
Posted: Fri Jan 26, 2007 10:38 pm
by kp_downarrow
can u add that to RC6 please?
Posted: Mon Jan 29, 2007 4:53 am
by Geesu
Nope srry i don't want it in there
Posted: Mon Jan 29, 2007 6:16 pm
by kp_downarrow
*sigh*