Esx_RufiCarKeys (Adv

9.95 EUR

With ESX_RufiCarKeys you can give the keys of your vehicles to people and you can also delete them.

Also you can park or parkquit vehicles that you have a key copy but you don't own, like friends vehicles.

As well, if you activate the "EngineKey" option, the vehicles will only start if you have the vehicle key.

By default, it’s fully compatible with esx_vehicleshop, esx_advancedvehicleshop and esx_advancedgarage (All versions)
But you can adapt to any garage and vehicleshop script easy.

You have a HOW_TO_INSTALL.txt inside folder.

UPDATE 24/01:
- Added a job bypass option to let certain job, run any vehicle without key.


UPDATE 26/01:
- Added a vehicle model bypass option to let certain Models run with no key (You can use this, for example, for driving autoschool vehicles)
- Added a key press system to open the menu.


UPDATE 27/01:
- Added an AllowGroupAdminBypass option to let superadmin run vehicles with no key

 - Added webhook Log option.

 - Added Give key ownership option.

 - Now you can trigger "TriggerServerEvent('RufiCarkey:RegisterPlate', plate, vehicleModel)" on your park quit event of your garage.
    With that, it can Auto-register a key for vehicles owned before you install my script.


UPDATE 28/01:
- Added a lockpicking and hotwiring system with car_lockpick item. You need to add this item on
   items table, or change the item on server.lua.

- Added option to park or park quit vehicles that you have a key copy but you are not the owner. (Need esx_advancedgarage (All versions) or adapt your garage script)


UPDATE 17/02:

- Added option to only give,remove or give ownership to nearest players.
You can config individually on config.lua with this vars:

 GiveToNearestPlayersOnly = true  --- On give key menu, show only nearest players.

 RemoveToNearestPlayersOnly = true --- On Remove key menu show only nearest players.

 GiveOwnershipToNearestPlayersOnly = true --- On give key ownership menu show only nearest players.

UPDATE 24/02:

- Now You can trigger this event to delete from DB registered key: TriggerServerEvent('RufiCarkey:DeletePlate', plate)
  You can use it when you sell the car to the vehicleshop for example.

- Now you can trigger this event: TriggerEvent('RufiCarkey:TempKey', plate) from client side, with it you can get a temporal key that works like      regular  key  but it get deleted when client disconnect.

  You can use it for example for rental cars.

  You can trigger from inside vehicle with no 'plate' value "TriggerEvent('RufiCarkey:TempKey')" and it get a plate value from the vehicle where         the player is in.

- Added npc vehicles update option. If TRUE, when you steal a car with npc inside, it will give you a  temporal key.

- New way to retrieve key from db because some customer say to me that it shows others keys  sometimes.

- Vehicle key bypass by plate, This can be used for rent vehicles too or job vehicles.- Give full control for bypassed vehicles like lock and unlock         doors, and not only run engine.

- Added a key prop when you open/close the vehicle

- Added command 'getkeys' to manually reload your keys.
- Added config file.


UPDATE 31/03:

- Added Config.GiveKeyAndVehicleOwnership option If TRUE vehicle ownership will be given too when use the give key ownership option.


UPDATE 15/04:

- Added 'Config.RobNPCVehicles' if FALSE the playes cannot rob NPC occupied vehicle.

- Added 'Config.BypassedJobVehicles' to bypass specific vehicles for specific jobs.

- Added '/registerkey' command. Trigger the command from inside your owned vehicle and it gives you the original key of the vehicle.

- Improved vehicle detection, now you can lock/unlock 100% vehicles including helicopters too.

- Added 'Config.AllowLockFromInside' If TRUE players can lock/unlock vehicles from inside.



You can edit what you want, it's not encrypted or ip locked.

Here you can see the script in use: https://www.youtube.com/watch?v=BrrAE6SMdK8

You can contact me on my discord: https://discord.gg/7cS5bDvDXj