[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 » Thu Jan 25, 2007 9:36 pm

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: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Thu Jan 25, 2007 9:48 pm

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 » Thu Jan 25, 2007 10:08 pm

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: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Fri Jan 26, 2007 12:30 am

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 » Fri Jan 26, 2007 3:34 pm

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 » Fri Jan 26, 2007 7:58 pm

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 » Fri Jan 26, 2007 8:28 pm

[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: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Fri Jan 26, 2007 9:14 pm

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 » Fri Jan 26, 2007 10:38 pm

can u add that to RC6 please?

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Mon Jan 29, 2007 4:53 am

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 » Mon Jan 29, 2007 6:16 pm

*sigh*

Post Reply