DLib/functions/Util/fn_runPost.sqf
2020-01-15 19:18:38 +01:00

20 lines
315 B
Plaintext

/*
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];