mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
522 B
Plaintext
23 lines
522 B
Plaintext
/**
|
|
* fn_sendHintTo.sqf
|
|
* @Descr: Sends a hint to player unit across network
|
|
* @Author: Glowbal
|
|
*
|
|
* @Arguments: [reciever OBJECT, message STRING]
|
|
* @Return: void
|
|
* @PublicAPI: true
|
|
*/
|
|
|
|
|
|
private ["_reciever","_message"];
|
|
_reciever = _this select 0;
|
|
_message = _this select 1;
|
|
//[_reciever,_message] call cms_fnc_sendChatMessageTo;
|
|
|
|
if (isPlayer _reciever) then {
|
|
if (!local _reciever) then {
|
|
[_this, "cse_fnc_sendHintTo", _reciever, false] spawn BIS_fnc_MP;
|
|
} else {
|
|
hintsilent format ["%1",_message];
|
|
};
|
|
}; |