mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-14 03:13:28 +00:00
[WIP] refactoring extract info function into more functions to handle the data to be grabbed
This commit is contained in:
11
addons/main/functions/extract_data/fn_extract_callsign.sqf
Normal file
11
addons/main/functions/extract_data/fn_extract_callsign.sqf
Normal file
@@ -0,0 +1,11 @@
|
||||
params["_unit"];
|
||||
|
||||
private _callsign = "";
|
||||
|
||||
if (roleDescription _unit != "") then {
|
||||
_callsign = name _unit + " | " + roleDescription _unit;
|
||||
} else {
|
||||
_callsign = name _unit;
|
||||
};
|
||||
|
||||
_callsign
|
||||
Reference in New Issue
Block a user