# GiveVehicleKeys

```lua
FD.GiveVehicleKeys = function(vehicle, plate)
    if Config.VehicleKey then
        if Config.Framework == 'qb' or Config.Framework == 'oldqb' then
            TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', plate)
        end
    end
end
```
