Server Side
function RenderIGTTag( text, type)
if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then
cancelEvent()
local r, g, b = getPlayerNametagColor(source)
outputChatBox("[IGT]" .. getPlayerName ( source ) ..":#FFFFFF " .. text, getRootElement(), r, g, b, true )
outputServerLog("CHAT: [IGT] " .. getPlayerName ( source ) .. ": " .. text)
end
end
addEventHandler("onPlayerChat", getRootElement(), RenderIGTTag)