Jump to content

start all Resource


Recommended Posts

Posted

This isn't really recommended but:

for i, v in ipairs(getResources()) do 
    startResource(v) 
end 

Also requires permissions (via ACL).

Posted
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.

Posted
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 :D

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 :roll:

Posted

To add all resources? One by one? I don't think so. Writing 3 lines of code, including meta, 6 lines, is much easier.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...