1
0
Fork 0
forked from Simnation/Main

Update stored.lua

This commit is contained in:
Miho931 2025-06-25 13:37:58 +02:00
parent 967c955d02
commit 5e9804135d

View file

@ -9,7 +9,7 @@ AddEventHandler('mh_garage:storeVehicle', function()
for i = 1, #vehicles, 1 do
local veh_coords = GetEntityCoords(vehicles[i])
local distance = #(veh_coords - coords)
if distance < 40.0 then
if distance < 10.0 then
local mods = QBCore.Functions.GetVehicleProperties(vehicles[i])
local lc_fuelLevel = exports["lc_fuel"]:GetFuel(vehicles[i]) -- Get the fuel level