changes logging, and eval inv on server only

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

View File

@@ -42,13 +42,11 @@ addMissionEventHandler ["HandleChatMessage",
["ace_arsenal_displayClosed", {
private _lines = [player] call milsim_fnc_logPlayerInventory;
["milsim_logText", [_lines]] call CBA_fnc_globalEvent;
[player] remoteExec ["milsim_fnc_logPlayerInventory", 2];
}] call CBA_fnc_addEventHandler;
[missionNamespace, "arsenalClosed", {
private _lines = [player] call milsim_fnc_logPlayerInventory;
["milsim_logText", [_lines]] call CBA_fnc_globalEvent;
[player] remoteExec ["milsim_fnc_logPlayerInventory", 2];
}] call BIS_fnc_addScriptedEventHandler;
diag_log text "[MILSIM] (client) event handlers bound";