Initial baseline - KP Liberation v0.96.7a Ruha variant

This commit is contained in:
2026-06-11 01:08:09 +02:00
commit 6f5e757e92
478 changed files with 64458 additions and 0 deletions

32
functions/fn_isRadio.sqf Normal file
View File

@@ -0,0 +1,32 @@
/*
File: fn_isRadio.sqf
Author: Zharf - https://github.com/zharf
Date: 2019-07-07
Last Update: 2020-05-03
License: MIT License - http://www.opensource.org/licenses/MIT
Description:
Returns whether the classname is a TFAR/ACRE radio or not.
Parameter(s):
_class - Description [STRING, defaults to ""]
Returns:
Item is a radio [BOOL]
*/
params [
["_class", "", [""]]
];
if (_class isEqualTo "") exitWith {["Empty string given"] call BIS_fnc_error; false};
if ((isClass (configFile >> "CfgPatches" >> "tfar_core")) || (isClass (configFile >> "CfgPatches" >> "task_force_radio"))) exitWith {
_class call TFAR_fnc_isRadio
};
if (isClass (configFile >> "CfgPatches" >> "acre_api")) exitWith {
[_class] call acre_api_fnc_isRadio
};
false