Skip to content

Commit

Permalink
Fixed vehicle keys bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulasdemirci0 authored Jan 25, 2024
1 parent f8e370d commit 05fc279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output/npwd_qb_garage/client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RegisterNuiCallback("npwd:qb-garage:valetVehicle", function(data, cb)
SetEntityAsMissionEntity(veh, true, true)
SetEntityHeading(veh, heading)
TriggerServerEvent('qb-garage:server:updateVehicleState', 0, data.vehicle.plate, "Out")
TriggerServerEvent('vehiclekeys:server:SetVehicleOwner', data.vehicle.plate)
TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', data.vehicle.plate)
SetVehicleEngineOn(veh, true, true, false)
end, data.vehicle.plate)
end, coordsSide, true)
Expand Down

0 comments on commit 05fc279

Please sign in to comment.