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