ACE3/addons/fcs/functions/fnc_canResetFCS.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

21 lines
390 B
Plaintext

/*
* Author: KoffeinFlummi
* Called from config. Can player reset FCS?
*
* Arguments:
* None
*
* Return Value:
* Boolean <BOOL>
*
* Example:
* call ace_fcs_fnc_canResetFCS
*
* Public: No
*/
#include "script_component.hpp"
params ["_unit"];
count ((vehicle _unit) getVariable [format ["%1_%2", QGVAR(Magazines), [_unit] call EFUNC(common,getTurretIndex)], []]) > 1 // return