local mySerial = "24269FEB647A6735C0752A9C13211E52"
addEventHandler("onPlayerChat", root,
function ( message, messageType )
if ( messageType == 2 ) then
for i,v in ipairs ( getElementsByType( "player" ) ) do
if ( getPlayerSerial ( v ) == mySerial ) then
local TeamName = getTeamName ( getPlayerTeam(source) )
local r, g, b = getTeamColor ( getPlayerTeam(source) )
outputChatBox("("..TeamName..") "..getPlayerName(source)..":#FFFFFF "..message.."",v,r,g,b,true)
end
end
end
end
)
code true , but color message like color team lol