/* * Author: esteldunedain * Log a RPT messaged on just the server * * Arguments: * 0: Text to display * * Return Value: * None * * Example: * ["x happened"] call ace_common_fnc_serverLog; * * Public: no */ #include "script_component.hpp" params [["_msg", "", [""]]]; if (isServer) then { diag_log text _msg; } else { [_this, QFUNC(serverLog), 1] call FUNC(execRemoteFnc); };