ACE3/addons/safemode/functions/fnc_firstMode.sqf
2015-01-17 17:32:34 -03:00

10 lines
217 B
Plaintext

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