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

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

In your ACL.xml under group admin, add this line:

<object name="resource.NAME"></object> 

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
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.

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
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

My E-mails:

" Manners Maketh Man "

" الأخلاق تصنع الرجل "

░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM !

▂▄▅█████████▅▄▃▂

███████████████████].

◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤

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:

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

It's almost the same as the mtaserver.conf, you would need to add 100 resources into this. It's much more work :roll:

but it's easier with sora's script :fadein:

My E-mails:

" Manners Maketh Man "

" الأخلاق تصنع الرجل "

░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM !

▂▄▅█████████▅▄▃▂

███████████████████].

◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤

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.

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast

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