gwjasonbr Posted August 2, 2020 Share Posted August 2, 2020 (edited) Queria Remover O ID De Cima Da Cabeça E Não Para Saber Arrumar Se Poder Arrumar E Manda Pra Eu Copiar E Cola No Lugar Desse Ai É '' server_S.lua '' function toggleInvisibility(thePlayer) if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup ("Staff01")) then local enabled = getElementData(thePlayer, "invisible") if (enabled == true) then setElementAlpha(thePlayer, 255) setElementData(thePlayer, "reconx", false) outputChatBox (" -> Você desativou a invisibilidade", thePlayer) setElementData(thePlayer, "invisible", false) elseif (enabled == false or enabled == nil) then setElementAlpha(thePlayer, 0) setElementData(thePlayer, "reconx", true) outputChatBox (" -> Você ativou a invisibilidade", thePlayer) setElementData(thePlayer, "invisible", true) else end else outputChatBox ("Acesso negado", thePlayer) end end addCommandHandler("invisivel", toggleInvisibility) addCommandHandler("inv", toggleInvisibility) . Edited August 2, 2020 by gwjasonbr Link to comment
DNL291 Posted August 2, 2020 Share Posted August 2, 2020 Edite o código client da nametag e coloque a verificação com o getElementData com o valor desse código. Link to comment
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