Skip to content

Commit

Permalink
Fix Entering Vehicle rob keys loop
Browse files Browse the repository at this point in the history
  • Loading branch information
y0p4 authored Nov 3, 2024
1 parent 46ac5ca commit 6655f31
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,10 @@ RegisterNetEvent('qb-vehiclekeys:client:GiveKeys', function(id)
end
end)

RegisterNetEvent('QBCore:Client:EnteringVehicle', function()
robKeyLoop()
RegisterNetEvent('QBCore:Client:VehicleInfo', function(data)
if data.event == 'Entering' then
robKeyLoop()
end
end)

RegisterNetEvent('qb-weapons:client:DrawWeapon', function()
Expand Down

0 comments on commit 6655f31

Please sign in to comment.