Update main.lua

This commit is contained in:
Miho931 2025-06-09 15:26:06 +02:00
parent 9250e67354
commit 97a39c5e9d

View file

@ -13,10 +13,10 @@ end)
Citizen.CreateThread(function() Citizen.CreateThread(function()
while true do while true do
Wait(5000) Wait(15000)
local ped = PlayerPedId() local ped = PlayerPedId()
if PedIsInAnyVehicle(ped) then if IsPedInAnyVehicle(ped) then
local veh = GetVehiclePedIsUsing(ped) local veh = GetVehiclePedIsUsing(ped)
local mods = QBCore.Functions.GetVehicleProperties(vehicle) local mods = QBCore.Functions.GetVehicleProperties(vehicle)