Arma 3 Scripting

getFuelConsumptionCoef

  • Global argument
  • Arma 3 v2.16

Command · Markdown · JSON · original wiki page

Description

Returns the fuel consumption coefficient, which is a multiplier of the fuel consumption rate in config.

Syntax

getFuelConsumptionCoef vehicle

Parameters:

Returns: Number - fuel consumption coefficient

Examples

Example 1

if (getFuelConsumptionCoef myCar > 1) then { hint "You should have a mechanic look at your engine!" }

See also

setFuelConsumptionCoef