From 18049417f75577ae2c9e0f7e338e1b6dfe7aa4b1 Mon Sep 17 00:00:00 2001 From: Valmo Trindade Date: Sun, 2 Feb 2025 15:06:58 -0300 Subject: [PATCH] fixed callsign function when vehicle is crewed --- addons/main/functions/extract_data/fn_extract_callsign.sqf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/main/functions/extract_data/fn_extract_callsign.sqf b/addons/main/functions/extract_data/fn_extract_callsign.sqf index d86aa57..89e6f26 100644 --- a/addons/main/functions/extract_data/fn_extract_callsign.sqf +++ b/addons/main/functions/extract_data/fn_extract_callsign.sqf @@ -17,7 +17,11 @@ if (roleDescription _unit != "") then { }; if ((([_unit] call BIS_fnc_objectType) select 0) == "Vehicle") then { - _callsign = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName") + " | " + name _unit; + _callsign = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName"); + + if (!isNull driver _unit) then { + _callsign = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName") + " | " + name (driver _unit); + }; }; if (unitIsUAV _unit) then {