AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   white color instead of red (https://forums.alliedmods.net/showthread.php?t=332430)

giumbalau 05-12-2021 11:04

white color instead of red
 
Does anyone have any idea why red color does not appear in colored messages and appears white
PHP Code:

PrintToChat(0"^x04[ZP]^x03 The frags leader is^x03 %s^x03 @^x04 %i frags"g_cName[cFragsLeader], iKills); 


iceeedr 05-12-2021 14:44

Re: white color instead of red
 
Show Stock PrintToChat

giumbalau 05-12-2021 16:56

Re: white color instead of red
 
Quote:

Originally Posted by iceeedr (Post 2746638)
Show Stock PrintToChat

That's all i got ... the addons is zombie plague 6.2 ultimateX

PHP Code:

PrintToChatEx(bool:bAliveiPlayercMessage[], any:...)
{
    static 
i;
    static 
cBuffer[192];
    
vformat(cBuffer191cMessage4);
    
1;
    while (
g_iMaxClients i)
    {
        if (
g_bConnected[i] && !g_bFake[i] && !is_user_hltv(i) && g_bAlive[i] == bAlive)
        {
            
send_say_text(iiPlayercBuffer);
        }
        
+= 1;
    }
    return 
0;


PHP Code:

PrintToChat(iReceivercMessage[], any:...)
{
    static 
cBuffer[192];
    
vformat(cBuffer191cMessage3);
    if (
iReceiver)
    {
        
send_say_text(iReceiverg_iMaxClients 1cBuffer);
    }
    else
    {
        static 
i;
        
1;
        while (
g_iMaxClients i)
        {
            if (
g_bConnected[i] && !g_bFake[i] && !is_user_hltv(i))
            {
                
send_say_text(ig_iMaxClients 1cBuffer);
            }
            
+= 1;
        }
    }
    return 
0;




All times are GMT -4. The time now is 20:00.

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