[REQ] /noicons

Want to talk about war3ft or make suggestions? Post them here

Moderator: Forum Moderator

Post Reply
kp_downarrow
Rifleman
Posts: 162
Joined: Thu Dec 21, 2006 2:12 am

[REQ] /noicons

Post by kp_downarrow »

can u make say /icons enable the icons
and say /noicons disable

instead of toggling with the same command?
User avatar
Geesu
<b>King of the world!</b>
Posts: 3160
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu »

then people have to know 2 commands..... that's just how it works...

I don't want to change it now
No Support via PM
kp_downarrow
Rifleman
Posts: 162
Joined: Thu Dec 21, 2006 2:12 am

Post 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
User avatar
Geesu
<b>King of the world!</b>
Posts: 3160
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu »

I see what you're saying... you could always just have it default to on in the sourcecode?
No Support via PM
mexykanu
Rifleman
Posts: 176
Joined: Sun Oct 22, 2006 8:06 am

Post by mexykanu »

so if you "alias" /noicons = exec XXX /icons then if he will say /noicons again they will reappear, right ? :|
kp_downarrow
Rifleman
Posts: 162
Joined: Thu Dec 21, 2006 2:12 am

Post by kp_downarrow »

um.. no, say /noicons to turn them off, say /icons to thurn them on
kp_downarrow
Rifleman
Posts: 162
Joined: Thu Dec 21, 2006 2:12 am

Post 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?
User avatar
Geesu
<b>King of the world!</b>
Posts: 3160
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu »

yes that would work
No Support via PM
kp_downarrow
Rifleman
Posts: 162
Joined: Thu Dec 21, 2006 2:12 am

Post by kp_downarrow »

can u add that to RC6 please?
User avatar
Geesu
<b>King of the world!</b>
Posts: 3160
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu »

Nope srry i don't want it in there
No Support via PM
kp_downarrow
Rifleman
Posts: 162
Joined: Thu Dec 21, 2006 2:12 am

Post by kp_downarrow »

*sigh*
Post Reply