change logPlayerInventory to return lines, which handlers send to CBA ev

This commit is contained in:
2024-01-29 13:48:35 -08:00
parent f77e418ac8
commit cada98e15a
4 changed files with 46 additions and 11 deletions

View File

@@ -1,5 +1,14 @@
if ( !hasInterface ) exitWith {};
if (!isServer) then {
["milsim_logText", {
params [["_strArray", [""], [[]]]];
{
diag_log text _x;
} forEach _strArray;
}] call CBA_fnc_addEventHandler;
};
["InitializePlayer", [player, true]] call BIS_fnc_dynamicGroups;
nil;