diff --git a/resources/[carscripts]/mh_garage/client/main.lua b/resources/[carscripts]/mh_garage/client/main.lua index 0d84785a3..5ce89462f 100644 --- a/resources/[carscripts]/mh_garage/client/main.lua +++ b/resources/[carscripts]/mh_garage/client/main.lua @@ -17,7 +17,7 @@ Citizen.CreateThread(function() local ped = PlayerPedId() if IsPedInAnyVehicle(ped, false) then - local veh = GetVehiclePedIsUsing(ped) + local veh = GetVehiclePedIsIn(ped, false) local mods = QBCore.Functions.GetVehicleProperties(vehicle) print("Triggert setMods") TriggerServerEvent('mh_garage:setMods', mods)