Olá, como faço para que somente o nick de tal pessoa tenha cor e as mensagens que ele enviar tal como,
"#FF00FF(COR) (MENSAGEM)" não tenham efeito de cor no chat?
function adminchat3 ( thePlayer, _, ... )
local message = table.concat ( { ... }, " " )
if ( isPlayerOnGroup ( thePlayer ) ) then
for _, player in ipairs ( getElementsByType ( "player" ) ) do
if ( isPlayerOnGroup ( player ) ) then
if getElementData (thePlayer, "ChatGlobal:Delay1", true) then
outputChatBox ( MensagemFalandoRapidoDemaisGlobal, thePlayer, 255, 255, 255, true ) return end
conta = getAccountName(getPlayerAccount(thePlayer))
if isObjectInACLGroup ("user."..conta, aclGetGroup ( "Console" ) ) then
outputChatBox("* ⌞BѵV ⌝ (@) Ajuda » ₣UNDΔDØR ♱ ["..getPlayerID(thePlayer).."] ➜ #ffffff"..getPlayerName(thePlayer)..": "..message, player, 0, 255, 0, true)