301
Server Requests/Suggestions / Re: Underdone suggestion
« on: June 29, 2010, 07:04:15 PM »
BNAMEMWEP
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
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 )
*/
Too late bish i already lox it.