mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 23:43:28 +00:00
readded extract uuid
This commit is contained in:
7
addons/main/functions/extract_data/fn_extract_uuid.sqf
Normal file
7
addons/main/functions/extract_data/fn_extract_uuid.sqf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
params["_unit"];
|
||||||
|
_uuid = _unit getVariable "_atak_uid";
|
||||||
|
if (isNil "_uuid") then {
|
||||||
|
_uuid = "armatak" callExtension ["uuid", []] select 0;
|
||||||
|
_unit setVariable ["_atak_uid", _uuid];
|
||||||
|
};
|
||||||
|
_uuid
|
||||||
Reference in New Issue
Block a user