ACE3/addons/safemode/functions/fnc_firstMode.sqf

10 lines
217 B
Plaintext
Raw Normal View History

// by commy2
2015-01-17 20:32:34 +00:00
#include "script_component.hpp"
2015-01-17 20:32:34 +00:00
EXPLODE_1_PVT(_this,_weapon);
2015-01-17 20:32:34 +00:00
private ["_mode"];
_mode = getArray (configFile >> "CfgWeapons" >> _weapon >> "modes") select 0;
[_mode, _weapon] select (_mode == "this")