TTT Prefix LUA

So, I’m pretty new to coding LUA.
I’ve made this little prefix LUA which goes in lua>autorun>client.
It works perfectly, only, I don’t get why the chat TEXT shows up as white for me, but black for a few other people.
One of them is in the same usergroup (ulx) as me (Owner), and the other is a regular. Other regulars don’t have any problems seeing the white text color, but only these 2 people do. Can anyone help me? I’ll paste the code here and feel free to use it for your own server. Not sure if this is the completely correct place to place this, since I’m both publishing this and asking for help.


--Chat Tags by Shinrei
CreateClientConVar("chat_tags_color_r", 255, true, false)
CreateClientConVar("chat_tags_color_g", 255, true, false)
CreateClientConVar("chat_tags_color_b", 255, true, false)
CreateClientConVar("chat_tags_color_a", 1, true, false)

local Tags = 
{
--Group    --Tag     --Color
{"user", "[Regular] ", Color(255, 227, 44, 0) },
{"gold vip", "[G.VIP] ", Color(255, 255, 0, 0) },
{"silver vip", "[S.VIP] ", Color(255, 255, 0, 0) },
{"platvip", "[P.VIP] ", Color(255, 104, 255, 0) },
{"forum trusted", "[F.Trusted] ", Color(255, 125, 44, 0) },
{"trusted", "[Trusted] ", Color(0, 167, 10, 0) },
{"utrusted", "[Ultimate] ", Color(0, 255, 255, 0) },
{"admin", "[Admin] ", Color(137, 0, 255, 0) },
{"senior admin", "[Sr.Admin] ", Color(255, 0, 0, 0) },
{"super admin", "[S.Admin] ", Color(0, 212, 156, 0) },
{"server owner", "[Owner] ", Color(0, 0, 255, 0) }
}

hook.Add("OnPlayerChat", "Tags", function(ply, strText, bTeamOnly)
	if IsValid(ply) and ply:IsPlayer() then
		for k,v in pairs(Tags) do
			if ply:IsUserGroup(v[1]) then
			local R = GetConVarNumber("chat_tags_color_r", "chat_tags_color_g", "chat_tags_color_b")
			local G = GetConVarNumber("chat_tags_color_r", "chat_tags_color_g", "chat_tags_color_b")
			local B = GetConVarNumber("chat_tags_color_r", "chat_tags_color_g", "chat_tags_color_b")
			local A = GetConVarNumber("chat_tags_color_r", "chat_tags_color_g", "chat_tags_color_b")
			local nickteam = team.GetColor(ply:Team())
				if !bTeamOnly then
				chat.AddText(v[3], v[2], nickteam, ply:Nick(), color_white, ": ", Color(R, G, B, A), strText)
				return true
				else
				chat.AddText(v[3], v[2], nickteam, "(TEAM) ", ply:Nick(), color_white, ": ", Color(R, G, B, A), strText)
				return true
				end
			end
		end
	end
	if !IsValid(ply) and !ply:IsPlayer() then
	local ConsoleColor = Color(0, 255, 0) --Change this to change Console name color
	chat.AddText(ConsoleColor, "Console", color_white, ": ", strText)
	return true
	end
end )

CreateClientConVar says it all. Wrong Section too

Sorry, noticed after I’d posted it. Could you tell me what’s wrong about the CreateClientConVar? Does it need to be at 0?

Wow it must really have taken you a lot of effort time to change the name in the first line of this code. Good job!
http://forum.facepunch.com/showthread.php?t=1244672

[LUA]
–Chat Tags by Tyguy
CreateClientConVar(“chat_tags_color_r”, 255, true, false)
CreateClientConVar(“chat_tags_color_g”, 0, true, false)
CreateClientConVar(“chat_tags_color_b”, 0, true, false)
CreateClientConVar(“chat_tags_color_a”, 255, true, false)

local Tags =•
{
–Group • •–Tag • • --Color
{“admin”, "[ADMIN] ", Color(0, 0, 255, 255) },
{“superadmin”, "[SUPERADMIN] ", Color(255, 0, 0, 255) },
{“owner”, "[OWNER] ", Color(0, 255, 0, 255) }
}

hook.Add(“OnPlayerChat”, “Tags”, function(ply, strText, bTeamOnly)
if IsValid(ply) and ply:IsPlayer() then
for k,v in pairs(Tags) do
if ply:IsUserGroup(v[1]) then
local R = GetConVarNumber(“chat_tags_color_r”)
local G = GetConVarNumber(“chat_tags_color_g”)
local B = GetConVarNumber(“chat_tags_color_b”)
local A = GetConVarNumber(“chat_tags_color_a”)
local nickteam = team.GetColor(ply:Team())
if !bTeamOnly then
chat.AddText(v[3], v[2], nickteam, ply:Nick(), color_white, ": ", Color(R, G, B, A), strText)
return true
else
chat.AddText(v[3], v[2], nickteam, "(TEAM) ", ply:Nick(), color_white, ": ", Color(R, G, B, A), strText)
return true
end
end
end
end
if !IsValid(ply) and !ply:IsPlayer() then
local ConsoleColor = Color(0, 255, 0) --Change this to change Console name color
chat.AddText(ConsoleColor, “Console”, color_white, ": ", strText)
return true
end
end )

[/LUA]

People kill me these days…