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