AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED]Team color doesn't correct while loop all player. (https://forums.alliedmods.net/showthread.php?t=194008)

GarbageBox 08-24-2012 13:27

[SOLVED]Team color doesn't correct while loop all player.
 
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 );
               
        }

http://cloud-2.steampowered.com/ugc/...9.resizedimage

Merciless 08-24-2012 13:29

Re: Team color doesn't correct while loop all player.
 
Check the player hes team, and use RED / BLUE & GREY

GarbageBox 08-24-2012 13:59

Re: Team color doesn't correct while loop all player.
 
Quote:

Originally Posted by Merciless (Post 1781533)
Check the player hes team, and use RED / BLUE & GREY

Thx so much! Fixed!


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

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