GamerDeMTA Posted June 24, 2013 Share Posted June 24, 2013 How to do it for the Mods, Smods and Admins??? Not only for 1 group?= Link to comment
bandi94 Posted June 24, 2013 Share Posted June 24, 2013 if isObjectInACLGroup(......,"admin") or isObjectInACLGroup(....,"smod") then ..... else ..... end Link to comment
HunT Posted June 24, 2013 Share Posted June 24, 2013 Check the command (example kick) Edit: Well , can u use bandi94 example or https://wiki.multitheftauto.com/wiki/Ha ... rmissionTo Link to comment
Blaawee Posted June 24, 2013 Share Posted June 24, 2013 Or loop it for _, aclGroups in ipairs ( { 'Admin', 'Moderator', 'SuperModerator' } ) do if isObjectInACLGroup ( ... , aclGetGroup ( aclGroups ) ) then -- Do something else -- Do something else end 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