yanvr Posted April 3, 2012 Share Posted April 3, 2012 Hello i want know how to make the chat red colour Link to comment
Kenix Posted April 3, 2012 Share Posted April 3, 2012 Main menu mta -> settings -> Interface? Link to comment
BriGhtx3 Posted April 3, 2012 Share Posted April 3, 2012 outputChatBox("TEXT",getRootElement(),255,0,0) or outputChatBox("#CD0000RED #FFA500ORANGE #FF0000GREEN",getRootElement(),0,0,0,true) Link to comment
myyusuf Posted April 3, 2012 Share Posted April 3, 2012 server side local function playerChat(message, messageType) if messageType == 0 then cancelEvent() local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source)..": #cc0000"..message, root, red, green, blue, true ) outputServerLog("CHAT: "..getPlayerName(source)..": "..message) end end addEventHandler("onPlayerChat", root, playerChat) Link to comment
yanvr Posted April 7, 2012 Author Share Posted April 7, 2012 It works! thanks for help men Link to comment
myyusuf Posted April 7, 2012 Share Posted April 7, 2012 It works! thanks for help men no problem Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now