From 4066d27f29e071779c06423b5fa9c143d0e48935 Mon Sep 17 00:00:00 2001 From: Valmo Trindade Date: Mon, 19 Aug 2024 01:37:33 -0300 Subject: [PATCH] removed send message function, not implemented on OTS API --- addons/main/functions/api/fn_send_message.sqf | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 addons/main/functions/api/fn_send_message.sqf diff --git a/addons/main/functions/api/fn_send_message.sqf b/addons/main/functions/api/fn_send_message.sqf deleted file mode 100644 index 6342d99..0000000 --- a/addons/main/functions/api/fn_send_message.sqf +++ /dev/null @@ -1,12 +0,0 @@ -// function name: armatak_fnc_send_message -// function author: Valmo -// function description: Receives a message string and send it to the FTS chat - -params["_server_message"]; - -private _atak_server_instance = missionNamespace getVariable "_atak_server_instance"; -private _atak_server_instance_token = missionNamespace getVariable "_atak_server_instance_token"; - -private _message_payload = [_server_message, _atak_server_instance, _atak_server_instance_token]; - -private _request = "armatak" callExtension ["ManageChat/postChatToAll",_message_payload]; \ No newline at end of file