This allows to check VCMod fuel prices per fuel type. Can also have been done using VC_getSettings() devcorner function.
Used in: VCMod Main addon.
Shared VC_fuelGetPrice(Integer ftype)
1. Integer ftype; Fuel type
The fuel type we want to check the price of (default is 1). Available options: 0 - Petrol; 1 - Diesel; 2 - Electricity.
1. Integer The current price of a liter of this type of fuel, based on settings.
// Lets get the currenty price of VCMods Petrol concommand.Add("vehicle_getfuel", function() print("VCMods current price of Petrol is "..VC_fuelGetPrice(0).."/liter.") end)