Update main.lua

This commit is contained in:
Miho931 2025-06-09 15:30:45 +02:00
parent 8d183bdd68
commit 67f2fec615

View file

@ -16,7 +16,7 @@ Citizen.CreateThread(function()
Wait(15000)
local ped = PlayerPedId()
if IsPedInAnyVehicle(ped) then
if IsPedInAnyVehicle(ped, false) then
local veh = GetVehiclePedIsUsing(ped)
local mods = QBCore.Functions.GetVehicleProperties(vehicle)