Raised This Month: $ Target: $400
 0% 

Color client print


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jageassyrian
Senior Member
Join Date: Jul 2007
Old 01-07-2008 , 18:54   Color client print
Reply With Quote #1

how would i make the words in a code colored when they are printed on the screen for example the client chat in this code

PHP Code:
    else
    {
        new 
Float:fragsiTeam get_pcvar_num(Pcvar_Team_Only)
        for(new 
id 1id <= g_maxClientsid++)
        {
            if(
is_user_alive(id) && !g_bKilled[id])
            {
                if(
iTeam && get_user_team(id) != iTeam)
                    continue        
                
pev(idpev_fragsfrags)
                
set_pev(idpev_frags, ++frags)
                
client_print(idprint_chat"You survived the round and earned a frag")
            }
        }
    } 
jageassyrian is offline
 



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 11:00.


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