itsbaudi Posted July 24, 2017 Posted July 24, 2017 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)
Dimos7 Posted July 25, 2017 Posted July 25, 2017 function Tags (mensaje, tipo) local cuenta = getAccountName(getPlayerAccount(source)) local nombre = getPlayerName(source) local rojo, verde, azul = getPlayerNametagColor(source) local playerTeam = getPlayerTeam(source) local teamName = getTeamName(playerTeam) if teamName == your team name here and 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)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now