changes logging, and eval inv on server only

This commit is contained in:
2024-01-30 18:22:45 -08:00
parent dbff8d31d4
commit 44d9ba3b07
2 changed files with 29 additions and 29 deletions

View File

@@ -42,12 +42,12 @@ addMissionEventHandler ["HandleChatMessage",
["ace_arsenal_displayClosed", {
private _lines = [player] call milsim_fnc_logPlayerInventory;
[player] remoteExec ["milsim_fnc_logPlayerInventory", 2];
["milsim_logText", [_lines]] call CBA_fnc_globalEvent;
}] call CBA_fnc_addEventHandler;
[missionNamespace, "arsenalClosed", {
private _lines = [player] call milsim_fnc_logPlayerInventory;
[player] remoteExec ["milsim_fnc_logPlayerInventory", 2];
["milsim_logText", [_lines]] call CBA_fnc_globalEvent;
}] call BIS_fnc_addScriptedEventHandler;