Gta King Posted June 7, 2015 Share Posted June 7, 2015 i need help i want to make more than 1 acl group verification i want it to be staff l1 ,staff l2, staff l3,etc what to do ? if isObjectInACLGroup ( "user.".. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "Head Staff" ) ) then Link to comment
Miika Posted June 7, 2015 Share Posted June 7, 2015 You need to use elseif. if isObjectInACLGroup ( "user.".. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "Head Staff" ) ) then -- code here elseif isObjectInACLGroup ( "user.".. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "staff L2" ) ) then -- code here elseif isObjectInACLGroup ( "user.".. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "staff L3" ) ) then -- code here end Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now