Server Entity Vehicle:VC_fuelConsume(Integer amount)
1. Integer amount; Amount of fuel.
The amount of fuel, in liters, that needs to be taken away.
concommand.Add("vehicle_consumefuel", function() local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity if IsValid(ent) then ent:VC_fuelConsume(20) print("Vehicle consumed 20 liters of fuel, maybe time to get a prius?") else print("Invalid entity.") end end)