• DarkRP talktorange colour chat?
    1 replies, posted
Hello there, I'm currently working with the darkrp talktorange chat commands. My objective was to establish a secondary colour before the 'text'. local function Yell(ply, args)     local DoSay = function(text)         if text == "" then             DarkRP.notify(ply, 1, 4, DarkRP.getPhrase("invalid_x", DarkRP.getPhrase("arguments"), ""))             return ""         end         DarkRP.talkToRange(ply, ply:Nick() .. ": ", "[Yell] " .. text, GAMEMODE.Config.yellDistance)     end     return args, DoSay end DarkRP.defineChatCommand("y", Yell, 1.5) DarkRP.defineChatCommand("yell", Yell, 1.5)
Never-mind with this, I simply made a copy of DarkRP's sv_util.lua and copied the functions for "talkToRange" and then changed it's function name to whatever and then it's RGB code to my preference.
Sorry, you need to Log In to post a reply to this thread.