• 0
Sign in to follow this  
James Ryan

Specific Vehicle Spawn Amount

Question

hi,

i need help with vehicle spawning, i added some more vehicles to spawn at server start in config.cpp like this:


        ground[] =
        {
            "Exile_Bike_QuadBike_Black",
            "Exile_Bike_QuadBike_Blue",
             ........

            "B_MRAP_01_F",       //Hunter
            "O_MRAP_02_F",      //Iftrit
            "I_MRAP_03_F"         //Srider

 

is there a way to spawn a specific number of ifrit, strider or hunter....

like every server start a max amount of 2 striders, 2 hunters, 2 ifrits

and 10 quad bikes, 3 hummingbirds  for example...?


      
       

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0
On 5/25/2017 at 7:13 AM, James Ryan said:

hi,

i need help with vehicle spawning, i added some more vehicles to spawn at server start in config.cpp like this:


        ground[] =
        {
            "Exile_Bike_QuadBike_Black",
            "Exile_Bike_QuadBike_Blue",
             ........

            "B_MRAP_01_F",       //Hunter
            "O_MRAP_02_F",      //Iftrit
            "I_MRAP_03_F"         //Srider

 

is there a way to spawn a specific number of ifrit, strider or hunter....

like every server start a max amount of 2 striders, 2 hunters, 2 ifrits

and 10 quad bikes, 3 hummingbirds  for example...?


      
       

        ground[] =
        {
           {10, "Exile_Bike_QuadBike_Black"},
            {10, "Exile_Bike_QuadBike_Blue"},
             ........

           {2,  "B_MRAP_01_F"},       //Hunter
            {2, "O_MRAP_02_F"},      //Iftrit
            {2, "I_MRAP_03_F"}         //Srider

};

I think something like that should help you. If they're not persistent, then every restart should start with that amount.

Again, hope that helps.

_sin

Share this post


Link to post
Share on other sites
Advertisement

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.