From ee1459087a552fc1dd47db690a042cef2d35500b Mon Sep 17 00:00:00 2001 From: Miho931 <98314142+Miho931@users.noreply.github.com> Date: Mon, 9 Jun 2025 17:20:17 +0200 Subject: [PATCH] Update main.lua --- resources/[carscripts]/mh_garage/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)