Tekken Posted March 23, 2015 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 ?
ALw7sH Posted March 23, 2015 Posted March 23, 2015 you can use this useful function https://wiki.multitheftauto.com/wiki/IsPlayerInACL note: its server side only
Tekken Posted March 23, 2015 Author 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.
Tekken Posted March 23, 2015 Author Posted March 23, 2015 aclGetGroup soryy but i don't see how will this work.
WhoAmI Posted March 23, 2015 Posted March 23, 2015 Example local groupName = "Some group" if ( not aclGetGroup ( groupName ) ) then -- doesn't exist else -- exists end
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