ACE3/addons/fcs/functions/fnc_canResetFCS.sqf
2016-06-18 11:50:41 +02:00

18 lines
346 B
Plaintext

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