Raised This Month: $ Target: $400
 0% 

[SOLVED]Admin chat function problems again.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-31-2011 , 16:12   Re: Admin chat function problems again.
Reply With Quote #2



PHP Code:
    for(new 0iNumi++)
    {
        if(
get_user_flags(iPlayers[i]) & ADMIN_CHAT && id != iPlayers[i])
        {
            
client_color(iPlayers[i], id"^x04%s ^x03%s ^x01: %s"iTagiUserNameiMessages[1]);
        }
    }
    
client_color(idid"^x04%s ^x03%s ^x01: %s"iTagiUserNameiMessages[1]); 
Your client_color() function is certaintly wrong. Why would the second parameter be "id"? I would recommend this.
__________________
fysiks 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 03:31.


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