Still using esx_locksystem? A new better vehicle key locksystem based on decors
server-sync
best optymalization
no database interference
only client-side script
requirements
es_extended
change CreateVehicle native to ESX.Game.SpawnVehicle() in your scripts or add DecorSetInt(vehicle, "owner", GetPlayerServerId(PlayerId())) to your scripts to set vehicle owner
Add this line to es_extended/client/functions.lua#ESX.Game.SpawnVehicle
Is this not an overwrite of the owner?
Bc I want to stay the owner but want that I can give him the Key so he can park the car out of his garage but is’nt the owner of it, for example If I don’t use the Car he can use it. And If he’s not using it I can park it out, you get me?