mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
18 lines
382 B
Plaintext
18 lines
382 B
Plaintext
//fnc_hashListPush.sqf
|
|
#include "script_component.hpp"
|
|
|
|
private ["_hashList", "_value"];
|
|
|
|
_hashList = _this select 0;
|
|
_value = _this select 1;
|
|
ERRORDATA(2);
|
|
try {
|
|
if(VALIDHASH(_hashList)) then {
|
|
[_hashList, (count (_hashList select 1)), _value] call FUNC(hashListSet);
|
|
} else {
|
|
ERROR("Input hashlist in push not valid");
|
|
};
|
|
} catch {
|
|
HANDLECATCH;
|
|
};
|