{"name":"getFuelConsumptionCoef","title":"getFuelConsumptionCoef","type":"command","url":"https://community.bistudio.com/wiki/getFuelConsumptionCoef","revid":363320,"updated":"2024-03-26T16:41:39Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"2.16"},"since":"arma3 2.16","arma3_since":"2.16","locality":{"argument":"global"},"description":"Returns the fuel consumption coefficient, which is a multiplier of the fuel consumption rate in config.","syntaxes":[{"syntax":"getFuelConsumptionCoef vehicle","params":[{"name":"vehicle","type":"Object","type_expr":"Object","text":"vehicle : Object"}],"returns":{"type":"Number","type_expr":"Number","description":"fuel consumption coefficient"},"form":"unary","right":{"text":"vehicle"}}],"examples":[{"code":["if (getFuelConsumptionCoef myCar > 1) then { hint \"You should have a mechanic look at your engine!\" }"]}],"see_also":["setFuelConsumptionCoef"]}