[ESX | QB-Core] The Impound System

UPDATE 1.0.2

Remove qb-companies support in order to introduce qb-bossmenu support
Fix vehicles not being deleted sometimes

Files modified by the update:

  • server/server.lua
  • client/api.lua
  • config.lua

Hi,
Sorry I didn’t get any notification for your message. The update just came out :slight_smile:

Hi S1nyx, thanks for the ping!

just to clarify does the update include what was mentioned above:

ā€œAfter a certain period of time (say 2-3 days), can the script delete the vehicle from the players owned vehicle in SQL, and remove it from the impound lot?ā€

Thanks!

Oh no I thought you replied to the message above, sorry. I’ll do it ASAP.

UPDATE 1.0.3

  • Added the possibility to delete impounded vehicles automatically after a certain period of time. (It completely deletes the vehicle, so from owned_vehicles table and s1n_impound as well)
  • Set the plate in the s1n_impound table as a unique column to avoid duplicates made by scripts conflicts.

Files modified by the update:

  • server/server.lua
  • config.lua
  • migration.sql

Hi,

I just added the feature :slight_smile:

Hoping you enjoy it.

awesome! thank you for the update and the ping. Buying the script now :smiley:

So, just put it in and gave the server a reset and my consol about had a heart attack…

Anyway to dampen that? lol

_----------------------------------------------------

EDIT:

Okay so i think i figured it out. Its because we arnt using esx garages to store our bought vehicles (we use vmenu and then just staff it to ensure its not abused).

Is there a way to turn off the auto impounding of vehicles when players disconnect and/or crash. That should solve the above table.

Pretty much the only time I want a vehicle added to the impound table, is when a player (leo or mechanic) adds them.

UPDATE 1.0.4 - Works only with the last QB-Core versions which includes oxmysql

  • Modifications for the last QB-Core version (ghmattimysql isn’t used anymore, oxmysql will replace it)

Files modified by the update:

  • server/server.lua
  • client/client.lua

Is the entire resource able to be modified?

Edit: Nevermind, I see that it is.

Can you impound the car for x amount of hours in the db? Or it just check for the payment to release the car? Would be great to be able to store it for x amount of time plus the impound fees.
Thanks!

Hi,

At the moment there is no feature to impound a vehicle for a certain time. It’s only check for the payment of the security deposit. I’ll include it in the features in a next update.

Thx I’ll wait for that update and buying it then!
Happy new years!

i cant get mind to work please help i use esx

Hi,
go on my store website, in the About section (click on about in the menu) you’ll have the invite for the support.

1 Like

Hi,

ESX and QB Core Bundle including the impound and the garage system just came out ! Go check this out on my webstore :slight_smile:

1 Like

[QB-Core] Impound System

UPDATE 1.0.7

  • Fix Now adapted to last qb-vehiclekeys version (Update to its last version to use the new impound system version)

Files modified by the update:

  • client/client.lua

[QB-Core] Impound System

UPDATE 1.0.8

  • Breakchanges qb-companies is no longer supported and has been replaced by qb-management (Read the README.txt of the new impound system version to use it)

Files modified by the update:

  • server/server.lua
  • @qb-management/server/sv_boss.lua

[QB-Core] Impound System

UPDATE 1.0.9

  • Fix spawning imported vehicle
  • Added in the config, the possibility to disable or enable the opacity effect with some options like its duration and the opacity of the vehicle

Files modified by the update:

  • client/client.lua
  • config.lua
  • fxmanifest.lua

[QB-Core] Impound System

UPDATE 1.0.10

  • Fix sql query error which is due to conflict with other scripts
  • Added in the config, the possibility to delete the vehicle automatically when it’s under water or has exploded
  • Added in the config, the possibility to delete the vehicle automatically when the player disconnects

Files modified by the update:

  • client/client.lua
  • server/server.lua
  • config.lua
  • fxmanifest.lua

[QB-CORE] Impound System

UPDATE 1.0.11

  • Fix vehicle not removing when trying to impound it (which was occurring 1 time on 1000)
  • Enabled Lua 5.4 for better performance

Files modified by the update:

  • server/server.lua
  • fxmanifest.lua

[ESX] Impound System

UPDATE 1.0.4

  • Fix sql query error which is due to conflict with other scripts
  • Added in the config, the possibility to delete the vehicle automatically when it’s under water or has exploded
  • Added in the config, the possibility to delete the vehicle automatically when the player disconnects
  • **Added **in the config, the possibility to disable or enable the opacity effect with some options like its duration and the opacity of the vehicle

Files modified by the update:

  • client/client.lua
  • server/server.lua
  • config.lua
  • fxmanifest.lua

[ESX] Impound System

UPDATE 1.0.5

  • Fix vehicle not removing when trying to impound it (which was occurring 1 time on 1000)
  • Added refresh menu when removing a vehicle from impound
  • Enabled Lua 5.4 for better performance

Files modified by the update:

  • client/client.lua
  • server/server.lua
  • fxmanifest.lua