Jump to content

Help with teams & acl


johhnhd

Recommended Posts

I am using 50p spawn menu and i was wondering if anyone has a teamsaver that saves the team on the score board and lets people join it from the spawn menu and if there is anyway i could replace the password with an acl checker to see if they're in the acl group.

Many thanks John.

Link to comment
  • Moderators
teamsaver

Well there are differed ways to do that, but you can try account data.

setAccountData

getAccountData

People have to login to load the information.

check when somebody is admin

  
local account = getPlayerAccount(source) 
local accountName = getAccountName(account) 
if isObjectInACLGroup("user." .. accountName, aclGetGroup("Admin")) then 
    outputChatBox("player is admin" ) 
end 
  

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...