nasserdfdd Posted September 12, 2015 Share Posted September 12, 2015 hi alll I want script that give account admin right when resource start so pls help me i need example Link to comment
JR10 Posted September 12, 2015 Share Posted September 12, 2015 addEventHandler('onResourceStart', resourceRoot, function() local account = 'ACCOUNT_NAME' if (not getAccount(account)) then return end aclGroupAddObject(aclGetGroup('Admin'), 'user.'..account) aclSave() aclReload() 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