local playerName = getPlayerName(getLocalPlayer())
addCommandHandler("on", function()
if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(thePlaye)), aclGetGroup ("Staff")) then
outputChatBox("Ei "..playerName.." Você é um staff!")
end
end )
Não entendo o pq o " isObjectInACLGroup " neste meu exemplo de comando não funciona. Sou iniciante e não tenho muita experiencia.
OBS.: tentei em ambos tipos de documentos (client, server)