Jump to content

When i close the server the car position is not saved


ARares

Recommended Posts

Is this a Dayz server? If so then the database is corrupt because you spawned vehicles with the admin panel so you have to fix the database by editing or deleting it.

If not you need to get every vehicle on the server and store them somehow (file, XML, SQLite) when the resource stops and every "X" amount of time. Then you use the information from the saved cars to create them again once the resource starts.

  • Like 1
Link to comment
4 minutes ago, Mr.Loki said:

Is this a Dayz server? If so then the database is corrupt because you spawned vehicles with the admin panel so you have to fix the database by editing or deleting it.

If not you need to get every vehicle on the server and store them somehow (file, XML, SQLite) when the resource stops and every "X" amount of time. Then you use the information from the saved cars to create them again once the resource starts.

Yes, is dayz server, but i didn't spawned vehicles with admin panel, i spawned them with a VSS.

And, what i need to edit in the DB? and how i can edit the DB?

This is my Gamemode: https://github.com/mihayy5/mtadayz07

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