DLib/functions/Util/fn_runPost.sqf

20 lines
315 B
Plaintext
Raw Permalink Normal View History

2020-01-15 18:18:38 +00:00
/*
Author: Djeeberjr
Description:
Calls the function on "postInit". See https://community.bistudio.com/wiki/Initialization_Order
Parameters:
0: ANY - arguments
1: CODE
*/
params ["_args","_code"];
if (isNil "DLib_post_calls") then {
DLib_post_calls = [];
};
DLib_post_calls pushBack [_args,_code];