Drackles Posted January 28, 2022 Share Posted January 28, 2022 (edited) I want all colors to be the same in map, scoreboard and chat but I can't,I will share with you a few images of what I want. For example, I have a green color, I want it to be written in this color when I send a message to the chat, but I cannot do this. @The_GTA @eoL|Shady help me Edited January 28, 2022 by Drackles Link to comment
CastiaL Posted January 29, 2022 Share Posted January 29, 2022 local function playerChat(message, messageType) if messageType == 0 then --Global (main) chat cancelEvent() local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source)..": #FFFFFF"..message, root, red, green, blue, true ) outputServerLog("CHAT: "..getPlayerName(source)..": "..message) end end addEventHandler("onPlayerChat", root, playerChat) 1 Link to comment
Drackles Posted January 29, 2022 Author Share Posted January 29, 2022 When I reconnect, the colors are not the same I want the colors to be the same chat,scoreboard,map Link to comment
Shady1 Posted January 29, 2022 Share Posted January 29, 2022 your server needs a save system, it needs to save colors setAccountData,getAccountData etc. 1 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