From 68d4c9bbd80ed2e6528244569c79676b87295bd1 Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:54:45 +0300 Subject: init --- Common/Functions/Common_GetClosestLocation.sqf | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Common/Functions/Common_GetClosestLocation.sqf (limited to 'Common/Functions/Common_GetClosestLocation.sqf') diff --git a/Common/Functions/Common_GetClosestLocation.sqf b/Common/Functions/Common_GetClosestLocation.sqf new file mode 100644 index 0000000..63b6c59 --- /dev/null +++ b/Common/Functions/Common_GetClosestLocation.sqf @@ -0,0 +1,5 @@ +Private["_object"]; + +_object = _this select 0; + +([_object,towns] Call SortByDistance) select 0; \ No newline at end of file -- cgit v1.3.1