[QB] Vehicle Locksystem

Dependencies:

- ox_inventory
- ox_lib
- ox_target
- QBCore

ESCROWED SCRIPT!

Script Preview: Click here!
Tebex - Click Here!
Github information about the script:Click here!

Owned vehicles:

  • You can start vehicles by clicking the start engine button (can be changed from config file). It will start the engine and will remove the key from your inventory and will insert the value to the owned_vehicle database β€œ1” - Key is in the ignition or if you turn off your engine will change the value to the β€œ0” and will return you the key.

  • So whatever happens to you, disconnected or car despawns, etc your vehicle with key inside the ignition, you can start it again as soon as you enter it (get it back from the impound) simply click start engine button, it will search from the database to see if the key is in the ignition and if its in there will start the engine.

  • You can also start owned vehicle engine by using key from your inventory

  • Using key outside the vehicle locks and unlocks the vehicle.

  • When you exit the vehicle while engine is running it keeps it running.

  • When someone enters to your vehicle while its running it does shut down but he can turn the engine on by turning key in the ignition with start engine button.

  • You can share vehicle keys to your friends and they can use your car.

  • Vehicle keys have metadata.
    8807b653315972e0b0c8777e74ca84a4963a775c.png

Vehicle key reordering:

  • You can reorder or copy your vehicle keys in marked location.
  • Ped can be changed.
  • Blip information and ID can be changed.
    80c5846fe16b324459b845bd5df236e1ee5e0f85.png

Local vehicles (Not owned):

  • If you are not near to any vehicles and you use the lockpick, it says no vehicles are nearby.
  • If you use lockpick near any vehicles, it triggers the minigame, after successful minigame, comes animated progressbar, and then vehicle doors will be lockpicked.
  • As soon you enter the vehicle and you try to start the vehicle with the start engine button it will search the key, since its local vehicle it says there arent any keys left to the ignition and you have to hotwire it by using the lockpick again.
  • After successful hotwireing minigame the car starts and you can drive it. But after you shut down its engine you have to re-hotwire it to start again.
  • When you exit the vehicle while engine is running it keeps it running.

My other work:

:desktop:HUD - Click here!

:pickup_truck:Vehicle lock system - Click here!

:blue_car:Spikestrip(base) - Click here!

​πŸͺ¨Liberty city goldrush - ​Click here!

​​​πŸͺ™Liberty city metal detecting - ​Click here!

β€‹β€‹β€‹πŸ¬ESX Merryweather HQ Heist - Click here!

:convenience_store:​​ESX Shop robbery Full - Click here!

β€‹β€‹β€‹πŸš˜ESX car chopshop - Click here!

:money_with_wings:ESX ATM robbery - Click here!

β€‹β€‹β€‹πŸ’°ESX Fleeca bank robbery - ​Click here!

β€‹β€‹β€‹πŸ“¦Illegal item run - Click here!

​​​πŸͺESX Shop robbery LITE - Click here!

β€‹β€‹πŸ‘‘ESX Vangelico Robbery - Click here!

β€‹πŸš›ESX Bilgeco Shipping - Click here!

​​​πŸͺ™ESX Metaldetecting - Click here

:rock:ESX Mining Escrow - Click here!

:green_apple:ESX Juice factory - Click here!

:strawberry:ESX Jam factory - Click here!

:rock:ESX Goldrush - Click here!

​​​πŸͺ¨ESX Mining OPEN - Click here!

​​​πŸͺ¨ESX Mining OT_Skills - Click here!

β€‹β€‹β€‹πŸš›ESX Garbagejob - ​Click here! ​​​

β€‹β€‹β€‹πŸ›»QB Vehicle lock system - Click here!

:rock:QB Goldrush - Click here!

:articulated_lorry:QB Garbagejob - Click here!

:moneybag:QB Fleeca bank robbery - Click here!

:convenience_store:QB Shop robbery FULL - Click here!

:department_store:QB Merryweather HQ Heist - Click here!

β€‹β€‹β€‹β€‹β€‹β€‹β€‹β€‹πŸš˜QB Vehicle chopshop - ​Click here! ​​​

Code is accessible No /partially
Subscription-based No
Lines (approximately) over 2000
Requirements QB/OX
Support Yes
1 Like