ACE3/addons/safemode/functions/fnc_firstMode.sqf
2015-05-15 10:06:11 +02:00

10 lines
206 B
Plaintext

// by commy2
#include "script_component.hpp"
PARAMS_1(_weapon);
private ["_mode"];
_mode = getArray (configFile >> "CfgWeapons" >> _weapon >> "modes") select 0;
[_mode, _weapon] select (_mode == "this")