diff --git a/client/main.lua b/client/main.lua index 66e9a8b4..347d4a07 100644 --- a/client/main.lua +++ b/client/main.lua @@ -536,7 +536,7 @@ Citizen.CreateThread(function() end - if distance <= 1.0 and not v.inRange then + if distance <= 1.0 and not v.inRange and not IsPedSittingInAnyVehicle(playerPed) then TriggerServerEvent('esx:onPickup', v.id) v.inRange = true end