function globalMessage(thePlayer, cmd, ...) 
local message = table.concat ( { ... }, " " ) 
local chat = "#FF0000[Local]" 
local name = getPlayerName(thePlayer) 
local r,g,b = getPlayerNametagColor ( thePlayer ) -- add 
outputChatBox("..chat.. "..name..": #ffffff"..message, getRootElement(), r, g, b, true) 
end 
addCommandHandler("Local", globalMessage) 
 
Nah doesnt work  
it show only nametag player