With ESX_RufiCarKeys you can give the keys of your owned vehicles to people and you can also delete them.
Keys get synced with Database so keys are permanent.
- To open the keys menu just type /keys.
- To use key for open/close vehicle press U by default (You can change it on top of client.lua)
- To use key for start/stop engine press Z by default (You can change it on top of client.lua)
If you activate the “EngineKey” option, the vehicles will only start if you have the correct vehicle key (EngineKey enabled in video demo)
Car key system works perfect with all type of vehicles including motorbikes.
Just need to put this: TriggerServerEvent(‘RufiCarkey:RegisterPlate’, plate, vehicleModel)
in your vehicle shop script or buy job vehicles scripts to register a key.
It comes in two languages, English and Spanish, but you can translate or modify what you want (it’s not encrypted or ip locked.)
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.
It is compatible with Esx all versions and ExM.
You can see the script in action Here
You can buy the script here
NOTE: Now you recieve a link on your e-mail to download the script after the purchase. Don’t need to join my discord to give you the script.
Inside script folder you have a HOW_TO_INSTALL.txt but if you nedd help, i can help you or modify your vehicleshop and parking script if you don’t know how to install it
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) and
added a key press system to open the menu.
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.
Added a lockpick 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)
- You can see this updates on the new youtube video: here
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.
Added command ‘getkeys’ to manually reload your keys.
Now You can trigger this event to delete from DB registered key:
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 the
New way to retrieve key from db because some customer say to me that it shows others keys
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 a config file.
- Added Config.GiveKeyAndVehicleOwnership option If TRUE vehicle ownership will be given too when use the give key ownership option.
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.
Added option to remove the key from yourself, you can remove key copy also.
Fixed engine not start properly in planes.
- Added a rename key option.
You can download new update on the same link you get on purchase or in my discord (Link on tebex store)
I can help you or modify your vehicleshop and parking script if you don’t know how to install it