forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
8d183bdd68
commit
67f2fec615
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ Citizen.CreateThread(function()
|
||||||
Wait(15000)
|
Wait(15000)
|
||||||
local ped = PlayerPedId()
|
local ped = PlayerPedId()
|
||||||
|
|
||||||
if IsPedInAnyVehicle(ped) then
|
if IsPedInAnyVehicle(ped, false) then
|
||||||
local veh = GetVehiclePedIsUsing(ped)
|
local veh = GetVehiclePedIsUsing(ped)
|
||||||
local mods = QBCore.Functions.GetVehicleProperties(vehicle)
|
local mods = QBCore.Functions.GetVehicleProperties(vehicle)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue