Raised This Month: $ Target: $400
 0% 

[SOLVED]Again a Colorchat Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 12-04-2010 , 08:02   Re: Again a Colorchat Problem
Reply With Quote #1

try this
PHP Code:
public startround()
{
    new 
name[32], users_fragsusers_deathsgerechnet 
    
    
for(new id id <= g_maxPlayers id++) 
    {
        if(
is_user_connected(id))
        {
            
users_frags get_user_frags(id)
            
users_deaths get_user_deaths(id
            
gerechnet users_frags users_death
            
            
if(gerechnet >= 10)
            {
                
get_user_name(idname31)
                
                
ColorChat(id,RED,"\YELDu hast \GRN+%d Frags \YELund musst jetzt mit \GRNFunWaffen \YELSpielen!Schreibe \GRN/fungun \YELfuer mehr Info.",gerechnet)
                
ColorChat(0,NORMAL,"\TEM%s \YELhat +%d Frags \YELund muss jetzt mit \GRNFunWaffen \YELSpielen!",name,gerechnet)
                
ColorChat(0,NORMAL,"\TEM Das ist TEAMFARBE%s",name)
                
ColorChat(0,GREEN,"\TEM Das ist TEAMFARBE%s",name)
                
ColorChat(0,RED,"\TEM Das ist TEAMFARBE%s",name)
                
ColorChat(0,BLUE,"\TEM Das ist TEAMFARBE %s",name)
                
user_is_warned[id] = true
            
}
        }
        else
        {
            
user_is_warned[id] = false
        
}
    }

__________________

Last edited by vato loco [GE-S]; 12-04-2010 at 08:11.
vato loco [GE-S] is offline
Reply



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:17.


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