forked from Simnation/Main
Update stored.lua
This commit is contained in:
parent
967c955d02
commit
5e9804135d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue