Jump to content
  • 0

Sold vehicles - Respawn? Still count in max global vehicles?


PetuniaEpoch

Question

Hi Guys!

 

Just wondering... With vehicles that get sold:

 

1) Does the amount of global vehicles get reduced? So, say if there is a MAX limit in my init.sqf of 100 vehicles, and I have 100 on the server... If a player sells 10 vehicles, is the number of vehicles on the server then classed as 90, thus allowing 10 more to dynamically spawn???

 

Thanks :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hey I got a similar problem. All the vehicles that get sold stay sold. Even through a server restart. So there are no helicopters or airplanes anywhere. There is supposed to be 60+ air vehicle limit and 500+ cars. But database is still showing all helicopters and airplanes as sold. Any ideas as how to get them to respawn?

Link to comment
Share on other sites

  • 0

 But database is still showing all helicopters and airplanes as sold.

 

How can you determine this in the DB? Once they are sold they are deleted from DB.

 

You guys need to open your init.sqf in dayz mission folder and change

 

MaxVehicleLimit = 800;

 

(or 300, 500 etc whatever you want)

 

You can verify the MaxVehicleLimit value by running the following SQL:

 

SELECT *

FROM `Object_DATA`

WHERE `CharacterID` =0

LIMIT 0 , 30

 

It should return a number <= to what you set as MaxVehicleLimit

Link to comment
Share on other sites

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
  • Discord

×
×
  • Create New...