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