Tekken Posted March 23, 2015 Share Posted March 23, 2015 Hi, i want to check if an group exist and if doesn't then to create it and if exist to don't do anything. How do i do that ? Link to comment
ALw7sH Posted March 23, 2015 Share Posted March 23, 2015 you can use this useful function https://wiki.multitheftauto.com/wiki/IsPlayerInACL note: its server side only Link to comment
Tekken Posted March 23, 2015 Author Share Posted March 23, 2015 you can use this useful function https://wiki.multitheftauto.com/wiki/IsPlayerInACLnote: its server side only You didn't get me, i don't want to check if an player is in a acl i want to check if an aclGroup exist. Link to comment
Tekken Posted March 23, 2015 Author Share Posted March 23, 2015 aclGetGroup soryy but i don't see how will this work. Link to comment
WhoAmI Posted March 23, 2015 Share Posted March 23, 2015 Example local groupName = "Some group" if ( not aclGetGroup ( groupName ) ) then -- doesn't exist else -- exists 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