Raised This Month: $ Target: $400
 0% 

[SOLVED]Team color doesn't correct while loop all player.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GarbageBox
Senior Member
Join Date: Feb 2010
Old 08-24-2012 , 13:27   [SOLVED]Team color doesn't correct while loop all player.
Reply With Quote #1

How can I fix this it?
Code:
	new szMessage[ 192 ];
	formatex( szMessage, sizeof szMessage - 1, "^4[%s] ^3%s^1 :  %s", szData, szName, szSaid );
	
	for( new i = 1; i <= g_max_clients; i++ )
	{
		if( !is_user_connected( i ) || is_user_alive( i ) != alive )
			continue;
		
		client_print_color( i, DontChange, szMessage );
		
	}
__________________
You can be a SUPER coder but you Haven't to say such as "stupid, etc." words to the others

Last edited by GarbageBox; 08-24-2012 at 13:59.
GarbageBox is offline
Merciless
BANNED
Join Date: Aug 2009
Location: Belgium
Old 08-24-2012 , 13:29   Re: Team color doesn't correct while loop all player.
Reply With Quote #2

Check the player hes team, and use RED / BLUE & GREY
Merciless is offline
GarbageBox
Senior Member
Join Date: Feb 2010
Old 08-24-2012 , 13:59   Re: Team color doesn't correct while loop all player.
Reply With Quote #3

Quote:
Originally Posted by Merciless View Post
Check the player hes team, and use RED / BLUE & GREY
Thx so much! Fixed!
__________________
You can be a SUPER coder but you Haven't to say such as "stupid, etc." words to the others
GarbageBox is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode