mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
14 lines
308 B
Plaintext
14 lines
308 B
Plaintext
#include "script_component.hpp"
|
|
|
|
private ["_index"];
|
|
_index = 0 max (lbCurSel 6000);
|
|
|
|
GVAR(gunList) set [_index, +(GVAR(workingMemory) select GVAR(currentTarget))];
|
|
|
|
lbClear 6000;
|
|
{
|
|
lbAdd [6000, _x select 0];
|
|
} forEach GVAR(gunList);
|
|
|
|
profileNamespace setVariable ["ACE_ATragMX_gunList", GVAR(gunList)];
|