GamerDeMTA Posted June 24, 2013 Posted June 24, 2013 How to do it for the Mods, Smods and Admins??? Not only for 1 group?=
bandi94 Posted June 24, 2013 Posted June 24, 2013 if isObjectInACLGroup(......,"admin") or isObjectInACLGroup(....,"smod") then ..... else ..... end Ingame Name : |DGT|Puma DGT Clan Server 24/7 Owner/Scripter MultiGameMode in progress :
HunT Posted June 24, 2013 Posted June 24, 2013 Check the command (example kick) Edit: Well , can u use bandi94 example or https://wiki.multitheftauto.com/wiki/Ha ... rmissionTo @Huntone_
Blaawee Posted June 24, 2013 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
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