2015-09-19 18:34:07 +00:00
|
|
|
/*
|
|
|
|
* Author: esteldunedain
|
2015-12-13 19:27:46 +00:00
|
|
|
* Log a RPT messaged on just the server
|
2015-09-19 18:34:07 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2015-12-13 19:27:46 +00:00
|
|
|
* 0: Text to display <STRING>
|
2015-09-19 18:34:07 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
2015-12-13 19:27:46 +00:00
|
|
|
* Example:
|
|
|
|
* ["x happened"] call ace_common_fnc_serverLog;
|
|
|
|
*
|
2015-09-19 18:34:07 +00:00
|
|
|
* Public: no
|
|
|
|
*/
|
2015-01-13 19:56:02 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-11 16:42:31 +00:00
|
|
|
|
2015-12-13 19:27:46 +00:00
|
|
|
params [["_msg", "", [""]]];
|
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
if (isServer) then {
|
2015-12-13 19:27:46 +00:00
|
|
|
diag_log text _msg;
|
2015-01-11 16:42:31 +00:00
|
|
|
} else {
|
2016-06-03 01:13:09 +00:00
|
|
|
[QGVAR(serverLog), _this] call CBA_fnc_serverEvent;
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|