mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:53:28 +00:00
added XEH_postInit to start websocket on client side
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
#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;
|
||||
Reference in New Issue
Block a user