How would I make a coloured text be sent to a clients chatbox when they right a certain thing in @?
I have got it to so far actually send it to the client, with a little help from FacePunch, but it is not colored.
This is the code so far.
hook.Add( "PlayerSay", "Report", function( ply, text, team ) if ( string.sub( text, 1, 1 ) == "@" ) then ply:PrintMessage( HUD_PRINTTALK, "[Reports] You're call has been noted and you have been added to the queue. Please be patient!") return "" end end )