ACE3/addons/fcs/functions/fnc_canResetFCS.sqf
2018-01-17 03:36:10 -08: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