Sets the brand new vehicles fuel. Bound to a number between 0 and max fuel amount.
Used in: VCMod Main addon.
Server Entity Vehicle:VC_fuelSet(Integer amount)
1. Integer amount; Amount of fuel.
The amount of fuel, in liters.
concommand.Add("vehicle_setfuel", function() local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity if IsValid(ent) then ent:VC_fuelSet(ent:VC_fuelGet()+5) print("Gave 5 extra liters of fuel to the vehicle") else print("Invalid entity.") end end)