forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
d1dd69d136
commit
f39bf18e27
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ Citizen.CreateThread(function()
|
||||||
if IsPedInAnyVehicle(ped, false) then
|
if IsPedInAnyVehicle(ped, false) then
|
||||||
local veh = GetVehiclePedIsIn(ped, false)
|
local veh = GetVehiclePedIsIn(ped, false)
|
||||||
local mods = QBCore.Functions.GetVehicleProperties(veh)
|
local mods = QBCore.Functions.GetVehicleProperties(veh)
|
||||||
print("Triggert setMods")
|
print("Triggert setMods: "..json.encode(mods))
|
||||||
TriggerServerEvent('mh_garage:setMods', mods)
|
TriggerServerEvent('mh_garage:setMods', mods)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue