mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 17:03:31 +00:00
12 lines
323 B
Plaintext
12 lines
323 B
Plaintext
#include "..\script_component.hpp"
|
|
|
|
if (!hasInterface) exitWith {};
|
|
|
|
_local_address = "armatak" callExtension ["local_ip", []] select 0;
|
|
|
|
SETVAR(player, localAddress, _local_address);
|
|
|
|
[{
|
|
"armatak" callExtension ["websocket:location", [player call FUNC(extractClientPosition)]];
|
|
}, 1, []] call CBA_fnc_addPerFrameHandler;
|