Raised This Month: $ Target: $400
 0% 

[SOLVED] use ColorChat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
arvEL.
Senior Member
Join Date: Dec 2014
Location: Iraq
Old 10-11-2015 , 14:18   Re: [HELP] use ColorChat
Reply With Quote #3

Quote:
Originally Posted by Spirit_12 View Post
What does it say?

PHP Code:
 if(get_user_flags(id) & ADMIN_CHAT)
        
format(message191"[* ADMINS *] %s:  %s"namemessage[1])
    else
        
format(message191"[* PLAYER *] %s:  %s"namemessage[1]) 
It says format. Colorchat is a replacement for client_print native, not format.

What you should be replacing here would be these lines.

PHP Code:
 client_print(players[i], print_chat"%s"message)
    }
    
client_print(idprint_chat"%s"message
PHP Code:
 Colorchat(players[i], GREY"%s"message)
    }
    
Colorchat(idGREY"%s"message
Thx bro but can you fix my codes
and give me full codes
arvEL. is offline
Send a message via Skype™ to arvEL.
 



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


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