Hi, somebody know why my script don´t work
I was create a script for the chat
This is the script
If somebody can help me Thanks!
I want to make a script for the chat that has the function on admin-tag & team tag
function Tags (mensaje, tipo)
local cuenta = getAccountName(getPlayerAccount(source))
local nombre = getPlayerName(source)
local rojo, verde, azul = getPlayerNametagColor(source)
local playerTeam = getPlayerTeam(source)
if playerTeam,isObjectInACLGroup("user."..cuenta, aclGetGroup("Admin")) then
cancelEvent()
local r, g, b = getPlayerNametagColor(source)
outputChatBox("[Dueño] "..getPlayerName(source)..": #FFFFFF"..getPlayerNametagColor(source)..message, root, rojo, verde, azul, true )
outputServerLog("[^Admin^] "..nombre..": "..mensaje)