mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
10 lines
193 B
Plaintext
10 lines
193 B
Plaintext
// by commy2
|
|
|
|
private ["_weapon", "_mode"];
|
|
|
|
_weapon = _this select 0;
|
|
|
|
_mode = getArray (configFile >> "CfgWeapons" >> _weapon >> "modes") select 0;
|
|
|
|
[_mode, _weapon] select (_mode == "this")
|