Wont worke dude look at the pic
http://imgur.com/1kPSpKv
Problem in outputchatbox i think
This work.
function globalMessage(thePlayer, cmd, ...)
local message = table.concat ( { ... }, " " )
local name = getPlayerName(thePlayer)
local r,g,b = getPlayerNametagColor ( thePlayer ) -- add
outputChatBox("#FF0000[Local] "..name..": #ffffff"..message, getRootElement(), r, g, b, true)
end
addCommandHandler("Local", globalMessage)