Installation
Last updated
Last updated
OneSync
or
Note: Updating from any release before v3.0.0 requires you to delete the database table vehicle_parking
once! Saved data is not compatible with the new version.
Download the script from your keymaster website and extract it into your resources folder.
Download and install mysql-async or OxMySQL (can be skipped if using ESX or QB).
Download and extract it into your resources folder.
Start the resource in your server.cfg:
Adding the function to your framework and other scripts, if they need to remove vehicle that are saved by AdvancedParking.
This has been made very easy thanks to the included file fixDeleteVehicle.lua
that you will find inside the AdvancedParking folder. You donΒ΄t need to use the exports!
Copy and paste the fixDeleteVehicle.lua
file into the folder of your framework like es_extended
or qb-core
. ( Directly in the framework folder, not in any sub folder. )
Then add the following line inside the fxmanifest of that framework resource:
Do a refresh
or restart your server after adding the fixDeleteVehicle.lua.
If any other script does not delete a vehicle properly (The car gets deleted but appears instantly again.) then repeat these steps in the respective script.