changes logging, and eval inv on server only
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user