if (SERVER) then
AddCSLuaFile("autorun/tags.lua")
end
//Look at end for Info to add custom titles
if (CLIENT) then
function Insert( pl, msg )
local tab = {}//Insert after here
if pl:HasLevel(0) then
table.insert( tab, Color( 255, 0, 0, 255 ) )
table.insert( tab, "(Owner) " )
table.insert( tab, Color( 255, 255, 255, 255 ) )
table.insert( tab, pl )
table.insert( tab, ": " )
table.insert( tab, msg )
elseif pl:HasLevel(1) then
table.insert( tab, Color( 255, 0, 0, 255 ) )
table.insert( tab, "(Admin) " )
table.insert( tab, Color( 255, 255, 255, 255 ) )
table.insert( tab, pl )
table.insert( tab, ": " )
table.insert( tab, msg )
elseif pl:HasLevel(2) then
table.insert( tab, Color( 255, 144, 0, 255 ) )
table.insert( tab, "(Super Admin) " )
table.insert( tab, Color( 255, 255, 255, 255 ) )
table.insert( tab, pl )
table.insert( tab, ": " )
table.insert( tab, msg )
elseif pl:HasLevel(4) then
table.insert( tab, Color( 0, 0, 255, 255 ) )
table.insert( tab, "(Respected) " )
table.insert( tab, Color( 255, 255, 255, 255 ) )
table.insert( tab, pl )
table.insert( tab, ": " )
table.insert( tab, msg )
else
table.insert( tab, Color( 255, 255, 255, 255 ) )
table.insert( tab, "(Temp Admin) " )
table.insert( tab, Color( 255, 255, 255, 255 ) )
table.insert( tab, pl )
table.insert( tab, ": " )
table.insert( tab, msg )
end
chat.AddText( unpack(tab) )
return true
end
end
hook.Add("OnPlayerChat", "InsertTags", Insert)
/*############################Script By Tomcat############################
##################Made For .:`=-~rANdOm~`-=:. Game Servers################
VVVVVVVVVVVVVVVVVVVVVVVV INFO FOR ADDING DOWN HERE VVVVVVVVVVVVVVVVVVVVVVVV
elseif pl:SteamID() == "I PUT SHOES' HERE" then //add something like steamid or other custom shit
table.insert( tab, Color( 0, 0, 255, 255 ) ) //Title color
table.insert( tab, "(Title) " )
table.insert( tab, Color( 255, 255, 255, 255 ) ) //chat color
table.insert( tab, pl )
table.insert( tab, ": " )
table.insert( tab, msg )
*/
now where is my s&h costs eh pay up zach