mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
New file
This commit is contained in:
parent
70e356da94
commit
3c6513fd44
18
exile_vemf_reloaded/sqf/systemChatToClient.sqf
Normal file
18
exile_vemf_reloaded/sqf/systemChatToClient.sqf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
Author: IT07
|
||||||
|
|
||||||
|
Params:
|
||||||
|
_this select 0: FORMATTED STRING - line to broadcast
|
||||||
|
_this select 1: ARRAY - specific clients to (ONLY) send line to
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
nothing
|
||||||
|
*/
|
||||||
|
|
||||||
|
_line = param [0, "", [""]];
|
||||||
|
_sendTo = param [1, [], [[]]];
|
||||||
|
if (_sendTo isEqualTo []) then { _sendTo = allPlayers };
|
||||||
|
{
|
||||||
|
VEMFrMsgToClient = [_line, "sys"];
|
||||||
|
(owner _x) publicVariableClient "VEMFrMsgToClient";
|
||||||
|
} forEach _sendTo;
|
Loading…
Reference in New Issue
Block a user