πŸ“–
Documentation
  • Welcome!
  • Common Issues
    • Keymaster
    • Updating resources
  • πŸ“„Scripts
    • πŸš™AdvancedParking
      • Installation
      • Commands
      • Exports (server)
      • Exports (client)
      • Events (server)
      • Events (client)
      • FAQ
    • 🚚VehicleTransport
      • Installation
      • How to use it
      • Creating a new transport
      • Exports (client)
      • Events (server & client)
    • πŸ”‘VehicleKeyChain
      • Installation
      • Commands
      • Exports (server)
      • Exports (client)
      • FAQ
    • πŸ—œοΈVehicleClamp - Pre-Release
      • Installation
      • Commands
      • Exports (server)
      • Exports (client)
      • Integration
        • ESX
        • QB
    • πŸ“„VehicleRegistration
      • Installation
      • Exports (server)
      • Exports (client)
    • πŸ“ƒVehicleInteraction
      • Installation
    • πŸ—ΊοΈVehicleTracker
      • Installation
      • Exports (server)
      • Exports (client)
    • 🌐JobTracker
      • Installation
    • πŸ•΅οΈβ€β™‚οΈVehicleForceFirstPerson
      • Installation
    • 🎯BulletRicochet
      • Installation
  • πŸ†“Free Scripts
    • πŸ“žkimi_callbacks
      • Installation
      • Exports (server)
      • Exports (client)
      • Examples
    • 🚜VehicleDeformation
      • Installation
      • Exports (server)
      • Exports (client)
    • 🎦OrbitCam
      • Installation
      • Exports (client)
      • Commands
    • πŸ”οΈEarthquakeSimulator
      • Installation
      • Exports (server)
      • Commands
    • πŸ’€DeathCam
      • Installation
Powered by GitBook
On this page
  • Requirements
  • Instructions
  • Deleting vehicles
  1. Scripts
  2. AdvancedParking

Installation

PreviousAdvancedParkingNextCommands

Last updated 2 months ago

Requirements

  • OneSync

  • or

Instructions

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.

  1. Download the script from your keymaster website and extract it into your resources folder.

  2. Download and install mysql-async or OxMySQL (can be skipped if using ESX or QB).

  3. Download and extract it into your resources folder.

  4. Start the resource in your server.cfg:

    ensure AdvancedParking
  5. Adding the function to your framework and other scripts, if they need to remove vehicle that are saved by AdvancedParking.


Deleting vehicles

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:

    shared_script "fixDeleteVehicle.lua"
  • 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.

There might be some scripts out there where this will not work. If you find yourself in this situation, it might be best to simply ask for help in our support.

πŸ“„
πŸš™
MySQL Async Library
OxMySQL
kimi_callbacks
kimi_callbacks.zip
Deleting vehicles