ADded handling for multiplayer or singleplayer sessions on init function

This commit is contained in:
Valmo Trindade
2024-08-04 18:12:49 -03:00
parent 29a75daa68
commit 2e537455b7
3 changed files with 19 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
params["_unit"];
private _uid_string = "armatak" callExtension ["ManageGeoObject/postGeoObject",[_unit] call armatak_fnc_extract_info];
private _uid_string = _uid_string select 0;
if (_uid_string != "") then {
_uid_string = (_uid_string splitString '"') select 3;
_unit setVariable ["_atak_uid",_uid_string, true];
};
_uid_string