mo7taref2014 Posted July 13, 2015 Share Posted July 13, 2015 how to make mod start all Resource ? Link to comment
GTX Posted July 13, 2015 Share Posted July 13, 2015 This isn't really recommended but: for i, v in ipairs(getResources()) do startResource(v) end Also requires permissions (via ACL). Link to comment
mo7taref2014 Posted July 13, 2015 Author Share Posted July 13, 2015 how to make permissions (via ACL). ?? Link to comment
GTX Posted July 13, 2015 Share Posted July 13, 2015 In your ACL.xml under group admin, add this line: <object name="resource.NAME"></object> Link to comment
IMr.SuLT4N Posted July 14, 2015 Share Posted July 14, 2015 or use this past it in mtaserver.conf "ResourceName" startup="1" protected="0" /> Link to comment
GTX Posted July 14, 2015 Share Posted July 14, 2015 or use this past it in mtaserver.conf "ResourceName" startup="1" protected="0" /> If you want to add this for each resource in your server, go ahead. You'll have 100 lines, where you could only do 3. Link to comment
iMr.Dawix~# Posted July 14, 2015 Share Posted July 14, 2015 or use this past it in mtaserver.conf "ResourceName" startup="1" protected="0" /> If you want to add this for each resource in your server, go ahead. You'll have 100 lines, where you could only do 3. he can use this resource viewtopic.php?f=108&t=51389&p=507974#p507974 Link to comment
GTX Posted July 14, 2015 Share Posted July 14, 2015 or use this past it in mtaserver.conf "ResourceName" startup="1" protected="0" /> If you want to add this for each resource in your server, go ahead. You'll have 100 lines, where you could only do 3. he can use this resource viewtopic.php?f=108&t=51389&p=507974#p507974 It's almost the same as the mtaserver.conf, you would need to add 100 resources into this. It's much more work Link to comment
iMr.Dawix~# Posted July 15, 2015 Share Posted July 15, 2015 It's almost the same as the mtaserver.conf, you would need to add 100 resources into this. It's much more work but it's easier with sora's script Link to comment
GTX Posted July 15, 2015 Share Posted July 15, 2015 To add all resources? One by one? I don't think so. Writing 3 lines of code, including meta, 6 lines, is much easier. 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