Jump to content

Retirar tag quando fazer login


matheu_yu

Recommended Posts

Posted

Opa galera preciso de uma ajuda, comecei a muito pouco tempo a fazer scripts, ja fiz alguns mais agora não estou conseguindo fazer uma;

to tentando fazer que quando o jogador deslogue ou logue ele perca a tag de Staff, algume me ajuda pfv 


function loggedOut1()
    aclGroupRemoveObject (aclGetGroup("Staff"), "user."..getAccountName(getPlayerAccount(source)))
    outputChatBox( "Logado com Sucesso", source )
    
end
addEventHandler("onPlayerLogout",getRootElement(),loggedOut1)

Essa é uma base do que tentei 

  • Tut locked this topic
  • Moderators
Posted

Welcome to the forums @matheu_yu

I can see you've since posted a new thread in the correction section - Portguese programming section - so I've gone ahead and locked this one!

Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime - Lao Tzu

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...