Chat Cosmetics! Make your bland chat look S E X Y

I just rewrote it, if anybody else uses it. Enjoy.

This is a very simple chat tags plugin for Garry’s Mod.

** Please post your bugs on github. Link**

Welp Here we go

Features:

  • Chat tags
  • Change the brackets/separators
  • Change the color for brackets for each group
  • Group Specific chat colors
  • Player’s Name color is their team color/darkrp job.
  • Multiple Gamemode Support
  • Customize DarkRP Advert/OOC Chat color
  • Customize DarkRP Advert/OOC tag
  • Customisable Dead Tags for non-darkrp gamemodes
  • Customisable Team tags for Team Chat on non-darkrp gamemodes
  • Chat tags can be assigned to a steam id or a group.
  • More than one Chat tag can be created for a steamid (finally)
  • Suggest some more <3

Screenies:

http://img.littlebigbug.pro/15.41.16-05.07.17.png

Downloads:

GitHub

Good Job <3

Thanks man <3

Looks sweet man, thanks for the release :slight_smile:

Sure! I hope you enjoy it!

Any chat is yellow for me. I set the advert color to yellow and normal chat, OOC, and advert are all yellow.

Is it possible to make it where I can hook up a tag to a steam id?

Can i say…Hectic

Dark123-“Is it possible to make it where I can hook up a tag to a steam id?”

That would be cool

Any Errors?- and make sure your group chat color is not yellow. (The last value in the group chat tags setting in sh_config.lua)
-------------------------------------------------------------------------------------------------- / / / / / /
CUConfig.Tags[“superadmin”] = { Color( 255, 0, 0 ), “SuperAdmin”, color_white, Color( 255, 94, 94 ) }

Sure! Let me make a ‘custom tag’ option.

EDIT:

Done:

Just go to the config under the CUConfig.CustomTag option.

Whenever I try to use the chat (without any file edits)

[ERROR] lua/autorun/client/cl_chattags.lua:54: attempt to index local ‘tag’ (a nil value)

  1. fn - lua/autorun/client/cl_chattags.lua:54
  2. Call - addons/ulib/lua/ulib/shared/hook.lua:179
    3. func - gamemodes/darkrp/gamemode/modules/chat/cl_chat.lua:28
    4. unknown - lua/includes/extensions/net.lua:32

This probably means that you did not specify a usergroup in the chat tags. So lets say you have the rank ‘mod’ it has to be listed in the config as something like this:



          usergroup O    Tag Color R, G, B O   Display Name O Bracket Color  O  Chat color or 'false' for none. 
CUConfig.Tags["mod"] = { Color(138, 138, 138), "Mod", Color( 255, 255, 255 ), false }

I will better format the config in just a little bit.

***EDIT: ***

I made the config for the tags look better- and a failsafe if you don’t have it configured just redownload at the top :wink:

Now it looks better and would be easier to edit.


CUConfig.Tags["superadmin"] = { -- Group name in the ""
	Color( 255, 0, 0 ), -- The color of the tag
	"SuperAdmin", -- What to display in the tag
	color_white, -- The brackets color of the tag
	Color( 255, 94, 94 ) -- Chat color, or if you don't want a specific chat color, use 'false' (WILL NOT OVVERIDE /advert CHAT COLOR!)
}

I’m actually an idiot FIXED

I installed this and removed it and now this is what happened to my current chat. Anything typed in chat is put in-front of the persons nickname.

Edit: Managed to fix the problem after reinstalling darkrp completely…

http://puu.sh/jaNFX/62b2c8db16.png

As I wrote in the console (say test).
I found an error

[ERROR] addons/chat cosmetics/lua/autorun/client/cl_chattags.lua:48: attempt to
call method ‘Team’ (a nil value)

  1. fn - addons/chat cosmetics/lua/autorun/client/cl_chattags.lua:48
  2. unknown - addons/ulib/lua/ulib/shared/hook.lua:179

Hey! Sorry I was out of town. Can you tell me what your gamemode is? I might know why thats happening

Edit:

I also see alot of disagreement on my thread, Instead of just rating it that could you give feedback why? I’d like to become a better coder <3

snip

I put it on my server and one of our Devs made Developer and Owner chat rainbows

10/10 best chat addon ever

For some reason my server keeps spamming


[ERROR] lua/includes/extensions/math.lua:212: attempt to compare table with number
  1. Approach - lua/includes/extensions/math.lua:212
   2. DrawHumanScreen - gamemodes/thehidden/gamemode/cl_screenfx.lua:74
    3. unknown - gamemodes/thehidden/gamemode/cl_screenfx.lua:31


Any ideas?

using table as a number i’d say

Pushed to GitHub.

Also:

Should I make an in game tag/config editor?

http://www.facepunch.com/fp/ratings/tick.png

: Yeh

http://www.facepunch.com/fp/ratings/cross.png

: Nah