mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
10 lines
206 B
Plaintext
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")
|