AdvancedParking v4.11.1 - Persistent vehicles! [ESX] [QB] [QBOX] [OX] [Standalone]

I am not supporting resources in the forums because it becomes a massive hassle with messages back and forth cluttering the thread. I am happy to help in our server any time. If you for some reason don’t want to join, feel free to send a DM here but expect that it might take longer that way.

Hi.
No one faced a problem with the quasar houses?
I park my car on the street, I go into the house. And the car disappears.
In the database, the car is in place, but it is not displayed in the game until the server restart.

1687013158594 - YouTube This is a blacklisted license plate

Hey, I have a big problem after the server restart the cars has no key ? I have to bring them manually back into the garage that they have keys again. Can anyone help me please ?

Beautiful good day,

Unfortunately, I’ve tried everything now and after selling my vehicles, they keep spawning again… with the older version it worked without any problems… can someone help me!

use OKOKVERHICLESHOP und die ESX VEHICLESSHOPS

Make sure that the housing script is setting you back into the proper instance. Be it routing buckets or other sort of instancing.

Both has been answered in our support already.

You can find all information for this problem in the readme in detail.

To all: If you want proper support, please read the first paragraph in the readme to ensure a proper and fast support cycle.

1 Like

Hi,

Thank you for your quick response

I’ve read the readme, but unfortunately I can’t get any further. I’ve tried everything and I don’t have any other scripts running in the background. Do I have to add the FIX to each script or only to es_extended?

This has to be done in your framework (es-extended or qb-core) and then in any script that doesn’t use the frameworks function.
So yea, might be the case for you.

And again: If you want proper support, please check the first paragraph in the readme ^^

Anyone Know why on qbcore im having a issue with My doors staying locked if a player locks the door on the car before he fly’s out couldnt find a discord for support!??.

Can I still use Qb-garages with this?

Links to support can be found in the readme (first paragraph) and on my store page.

If I understand your issue correctly and you are using qb-vehiclekeys, then you can also find a snippet for that script to fix the issue once you reached our support.

Yes, of course!

Update v3.10.0

  • Removed time frame between state bag updates to the database.
    • State bags will now always be updated and accessible directly.
    • State bag updates have been separated into their own save function to save performance.
  • Added debug line when an entity is removed and the entityRemoved event is called.
  • Added vehicle type to the saved values.
  • Now uses CreateVehicleServerSetter if type was already saved once.

Hotfix v3.10.1

  • Fixed version checker showing that you were running a newer version while it was an older version.
  • Fixed error when using a server version that doesn’t support the CreateVehicleServerSetter native.
3 Likes

Update v3.11.0

  • Several performance improvements:
    • Optimized vehicle update loop.
    • Optimized vehicle spawn loop.
    • Optimized “ghost” vehicle detection.
    • Removed “Citizen.” from Wait and CreateThread calls for tiny improvements.

Edit:
I should add that most of these performance improvements highly depend on current player count and the number of saved vehicles. There is no proper way to tell how much this actually increases the performance on your systems.
Calculating the worst case scenario with the changes I made and with 100 players and 200 vehicles could potentially be a 100x improvement on server side. But again, this entirely depends on your server, amount of players, amount of vehicles and which phase the vehicles are currently in. (no vehicles spawned also means that no vehicle needs updates etc)

2 Likes

Is there a way to make it so only specific groups can use this?

1 Like

What do you mean by groups?
Like ESX permission groups? Please be a little more specific :slight_smile:

The script features an export that allows enabling/disabling the script on a per-client basis. So if you don’t want some clients to be able to use it, you can toggle this.
However this won’t protect from things like: a client that is allowed to save vehicles can just save any vehicle from other players.

QBcore permission groups but yea i want only specific groups to have persistent vehicles

Yea, then you would need to create an additional check before saving the vehicle.

If you decide to buy the script and you don’t know how to do it yourself, check out our support as I will be able to assist you there :slight_smile:

Is this script compatible with qb-vehiclekeys and qb-garages? Meaning if you leave your car out and the server restarts when you load back in will the player have the keys to their vehicle and be able to get in it and drive it away or will the player owned vehicle be put back into the players garage or impound (depending on the config) and the vehicle will be duplicated after server restart and locked so the player wont be able to get in their vehicle?

You need to make a slight edit to qb-core to make sure that vehicles are deleted properly. Step-by-step instructions are included and it’s super easy to do. You don’t even need to touch code :slight_smile:

As for qb-vehiclekeys, we provide a snippet in our support server that fixes the issue with the missing keys. So once bought, just check the readme for support and you’ll find it :slight_smile:

1 Like

So I bought the script, installed it as to the instructions in the readme and it’s doing exactly as I asked if it wouldn’t do…i,e when a player is leaving their car out and the server restarts and they log back in they no longer have keys to their own vehicle and when they go to the garage the vehicle is duplicated. Ive looked on your discord and cant find any “snippet” to fix this