1
0
Fork 0
forked from Simnation/Main

Update main.lua

This commit is contained in:
Miho931 2025-06-09 17:20:17 +02:00
parent c7d1a3e4bf
commit ee1459087a

View file

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