forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
ee1459087a
commit
a3ed8cd4e0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue