Fire3n

Como Fasso Para torna um script liberado somente por acl?

Recommended Posts

Como Fasso Para torna um script liberado somente por acl?

ex: somente admins podem usa o f2

 

Edited by Fire3n

Share this post


Link to post
bindKey
isPlayerInACL -- https://wiki.multitheftauto.com/wiki/IsPlayerInACL função útil
triggerClientEvent

 

  • Like 1

Share this post


Link to post

Olá.

Você pode utilizar o seguinte código dentro do script de quando o painel "F2" é aberto:

      local accName = getAccountName ( getPlayerAccount ( thePlayer ) )
      if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin") ) then

 

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.