getFuelConsumptionCoef: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "↵|branch= dev↵↵" to " ") Tag: Manual revert |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|version1= 2.16 | |version1= 2.16 | ||
|arg= | |arg= global | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
Line 14: | Line 14: | ||
|p1= vehicle : [[Object]] | |p1= vehicle : [[Object]] | ||
|r1= [[Number]] - | |r1= [[Number]] - fuel consumption coefficient | ||
|x1= <sqf>if (getFuelConsumptionCoef myCar > 1) then { hint "You should have a mechanic look at your engine!" }</sqf> | |x1= <sqf>if (getFuelConsumptionCoef myCar > 1) then { hint "You should have a mechanic look at your engine!" }</sqf> |
Latest revision as of 17:41, 26 March 2024
Description
- Description:
- Returns the fuel consumption coefficient, which is a multiplier of the fuel consumption rate in config.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- getFuelConsumptionCoef vehicle
- Parameters:
- vehicle : Object
- Return Value:
- Number - fuel consumption coefficient
Examples
- Example 1:
Additional Information
- See also:
- setFuelConsumptionCoef
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note