mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
25 lines
409 B
Plaintext
25 lines
409 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: esteldunedain
|
|
* Log a RPT messaged on just the server
|
|
*
|
|
* Arguments:
|
|
* 0: Text to display <STRING>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* ["x happened"] call ace_common_fnc_serverLog;
|
|
*
|
|
* Public: no
|
|
*/
|
|
|
|
params [["_msg", "", [""]]];
|
|
|
|
if (isServer) then {
|
|
diag_log text _msg;
|
|
} else {
|
|
[QGVAR(serverLog), _this] call CBA_fnc_serverEvent;
|
|
};
|