From dee52083d359434fc3ac51a871c1b836d092d2ac Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:55:41 +0300 Subject: init --- Common/Functions/Common_GetSideTowns.sqf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Common/Functions/Common_GetSideTowns.sqf (limited to 'Common/Functions/Common_GetSideTowns.sqf') diff --git a/Common/Functions/Common_GetSideTowns.sqf b/Common/Functions/Common_GetSideTowns.sqf new file mode 100644 index 0000000..211ce4c --- /dev/null +++ b/Common/Functions/Common_GetSideTowns.sqf @@ -0,0 +1,10 @@ +Private ['_sideID','_towns']; + +_sideID = (_this) Call GetSideID; +_towns = []; + +{ + if ((_x getVariable 'sideID') == _sideID) then {_towns = _towns + [_x]}; +} forEach towns; + +_towns \ No newline at end of file -- cgit v1.3.1