Jump to content

Start resource on server startup?


Shazzimal

Recommended Posts

Hello everybody,

I've downloaded some new resouces for my server, but when i start my server i must start the resources by themselves.

Is there a string i can add to the script so the resource will start directly when my server is starting up. Or something other i can do.

I am a bit new to scripting, but i know something about it.

Sorry for my grammar, i am just a 13 years old boy from the Netherlands.

Link to comment

Yes You Can Do It =D :D . Open MtaServer.conf go to line 205-230 here :

-- Specifies resources that are loaded when the server starts and/or which are protected from being stopped. 
         To specify several resources, add more  parameter(s). --> 
     
    "admin" startup="1" protected="0" /> 
    "defaultstats" startup="1" protected="0" /> 
    "helpmanager" startup="1" protected="0" /> 
    "RRr" startup="1" protected="0" /> 
    "mapcycler" startup="1" protected="0" /> 
    "mapmanager" startup="1" protected="0" /> 
    "parachute" startup="1" protected="0" /> 
    "resourcebrowser" startup="1" protected="1" default="true" /> 
    "resourcemanager" startup="1" protected="1" /> 
    "scoreboard" startup="1" protected="0" /> 
    "spawnmanager" startup="1" protected="0" /> 
    "voice" startup="1" protected="0" /> 
    "votemanager" startup="1" protected="0" /> 
    -- play is the default freeroam gamemode. Remove the following line to prevent it from starting. --> 
    "play" startup="1" protected="0" /> 

if u want to add a resource use this code :

"resourceName" startup="1" protected="0" /> 

then restart you,re server and will satrt auto ..

Link to comment

HAHA, nee scripten is echt voor goed engels sprekende, ik ben het aan het leren. Maar ik weet nog niet helemaal wat ik het best allemaal kan doen.

TRANSLATION:

HAHA, no, scripting is more common to good english speaking people, i'm learning scripting but i don't really know, what i must do to learn it myself.

Translation wasn't best!

Link to comment
  • Moderators
HAHA, nee scripten is echt voor goed engels sprekende, ik ben het aan het leren. Maar ik weet nog niet helemaal wat ik het best allemaal kan doen.

TRANSLATION:

HAHA, no, scripting is more common to good english speaking people, i'm learning scripting but i don't really know, what i must do to learn it myself.

Translation wasn't best!

I don't speak very well English, but I still can script.

NL:Ik spreek niet echt goed Engels, maar ik kan nog scripten.

The best thing you can do is watch the samples on wikimta, scripting isn't very hard but it cost lots of time to learn the rulez of it.

NL: Het beste wat je kan doen is anderen voorbeelden bekijken op wikimta, scripten is niet zo moeilijk alleen het kost veel tijd om de regels er van te leren.

https://wiki.multitheftauto.com

If you start with scripting, there will be a moment when you see that you can build almost everything.

The one big question still remains, "what is the best way".

NL: Als je begind met scripten, dan zal er een moment komen dat je in gaat zien dat je alles kan bouwen wat je maar wilt.

De vraag die overblijft, "wat is de beste mannier(zonder lagg)".

Link to comment

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