This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// These should be defind on initPlayerLocal or something: | |
GVAR(playerVariables) = createHashMap; | |
GVAR(newData) = false; | |
// Would be called like `["earplugs", [player] call ACEFUNC(hearing,hasEarPlugsIn)] call FUNC(this)` | |
params ["_type", "_data"]; | |
GVAR(playerVariables) set [_type, _data]; | |
GVAR(newData) = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["ace_arsenal_leftPanelFilled", { | |
params ["_display"]; | |
private _control = _display displayCtrl 13; | |
"ace_clipboard" callExtension "["; | |
for "_lbIndex" from 0 to (lbSize _control - 1) do { | |
private _currentData = _control lbData _lbIndex; |