Skip to content

Commit

Permalink
feat(remove key on vehicle stored)
Browse files Browse the repository at this point in the history
Noticed the event exists but is unused. It does not update serverside, based on some of the other client side events I assume thats the intended use method?
  • Loading branch information
MrNewb committed Dec 20, 2024
1 parent 529fe7a commit 891df6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ local function CheckPlayers(vehicle)
TaskLeaveVehicle(seat, vehicle, 0)
end
end
TriggerEvent('qb-vehiclekeys:client:RemoveKeys', QBCore.Functions.GetPlate(vehicle))
Wait(1500)
QBCore.Functions.DeleteVehicle(vehicle)
end
Expand Down

0 comments on commit 891df6f

Please sign in to comment.