Jump to content

Alguém me ajuda com esse Script


Recommended Posts


function isPlayerOnGroupPj ( player )
    local account = getPlayerAccount ( player )
    local inGroup = false
    for _, group in ipairs ( { "Everyone", } ) do  
        if isObjectInACLGroup ( "user.*".. getAccountName ( account ), aclGetGroup ( group ) )   then
            inGroup = true
            break
        end
    end
    return inGroup
end

 

 

 

 

Como Faço para liberar para todos os jogadores?

Link to comment

1. Post na área errada;

2. Código sem formatação;

function isPlayerOnGroupPj ( player )
    local account = getPlayerAccount ( player )
    local inGroup = false
    for _, group in ipairs ( { "Everyone", } ) do  
        if isObjectInACLGroup ( "user.".. getAccountName ( account ), aclGetGroup ( group ) )   then
            inGroup = true
            break
        end
    end
    return inGroup
end

 

Edited by MaligNos
Link to comment

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.
×
×
  • Create New...