a3_vemf_reloaded/exile_vemf_reloaded/sqf/systemChatToClient.sqf
2016-07-02 16:24:53 +02:00

22 lines
397 B
Plaintext

/*
Author: IT07
Params:
_this select 0: FORMATTED STRING - line to broadcast
_this select 1: ARRAY - specific clients to (ONLY) send line to
Returns:
nothing
*/
params [
["_line", "", [""]],
["_to", [], [[]]]
];
if (_to isEqualTo []) then { _to = allPlayers };
{
VEMFrMsgToClient = [_line, "sys"];
(owner _x) publicVariableClient "VEMFrMsgToClient";
} forEach _to;