mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 23:03:29 +00:00
10 lines
424 B
Plaintext
10 lines
424 B
Plaintext
_armatak_tcp_socket_is_running = missionNamespace getVariable "armatak_tcp_socket_is_running";
|
|
|
|
if (_armatak_tcp_socket_is_running) then {
|
|
missionNamespace setVariable ["armatak_tcp_socket_is_running", false];
|
|
|
|
"armatak" callExtension ["tcp_socket:stop", []];
|
|
} else {
|
|
_warning = format ["<t color='#FF0021'>ARMATAK</t><br/> %1", "There is no TCP Socket running to be stopped"];
|
|
[[_warning, 1.5]] call CBA_fnc_notify;
|
|
}; |