Update main.lua

This commit is contained in:
Miho931 2025-06-09 17:21:31 +02:00
parent ee1459087a
commit a3ed8cd4e0

View file

@ -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