ACE3/addons/resting/functions/fnc_hasBipod.sqf
Nicolás Badano f9de90c6f9 resting: port
2015-01-15 19:34:35 -03:00

13 lines
298 B
Plaintext

// by commy2
#include "script_component.hpp"
private ["_weapon", "_config"];
_weapon = _this select 0;
_config = configFile >> "CfgWeapons" >> _weapon;
getNumber (_config >> "ACE_Bipod") == 1 ||
getNumber (_config >> "AGM_Bipod") == 1 ||
{getNumber (_config >> "tmr_autorest_deployable") == 1}