function toggleInvisibility(thePlayer)
if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup ("Staff")) then
local enabled = getElementData(Player, "ID")
if (enabled == true) then
setElementAlpha(Player, 0)
setElementData(Player, "reconx", false)
outputChatBox (" -> Escondeu O ID", thePlayer)
setElementData(Player, "invisible", false)
elseif (enabled == false or enabled == nil) then
setElementAlpha(Player, 0)
setElementData(Player, "reconx", true)
outputChatBox (" -> Mostrou O ID", thePlayer)
setElementData(Player, "invisible", true)
else
end
outputChatBox ("Acesso negado", thePlayer)
else
end
end
addCommandHandler("IDV", toggleInvisibility)