From 9a05bdea97b6cd7d5b8602d0db8373d685f008f3 Mon Sep 17 00:00:00 2001 From: IT07 Date: Tue, 19 Jul 2016 21:28:19 +0200 Subject: [PATCH] VEMFr_fnc_modAppID --- a3_vemf_reloaded/fn/fn_modAppID.sqf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 a3_vemf_reloaded/fn/fn_modAppID.sqf diff --git a/a3_vemf_reloaded/fn/fn_modAppID.sqf b/a3_vemf_reloaded/fn/fn_modAppID.sqf new file mode 100644 index 0000000..abd3d12 --- /dev/null +++ b/a3_vemf_reloaded/fn/fn_modAppID.sqf @@ -0,0 +1,16 @@ +/* + Author: IT07 + + Description: + returns the appID of given DLC + + Params: + _this: STRING - name of DLC/Expansion + + Returns: + SCALAR - appID +*/ + +private "_r"; +_r = getNumber (configFile >> "CfgAppIDs" >> _this); +_r