HUD
Functions

Vehicle: fuel Get Max

Displays the current vehicles max fuel capacity in liters.

Used in: VCMod Main addon.

Shared Entity Vehicle:VC_fuelGetMax()

Returns

1. Integer Max fuel capacity.

Example

concommand.Add("vehicle_getfuelnax", function()
	local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
	if IsValid(ent) then
		print("Vehicle you are currently looking at max fuel capacity is: "..ent:VC_fuelGetMax().." liters.")
	else
		print("Invalid entity.")
	end
end)
Page modified:
...2018-11-02 09:24:38