ACE3/addons/common/functions/fnc_getVersion.sqf
M3ales 71da4360b8 Changed version to versionStr as fix for #7478 (#7479)
Ensures return value of string is preserved.
2020-01-18 11:15:49 -06:00

19 lines
327 B
Plaintext

#include "script_component.hpp"
/*
* Author: Glowbal
* Get the version number of the current ACE build.
*
* Arguments:
* None
*
* Return Value:
* ACE Version <STRING>
*
* Example:
* [] call ace_common_fnc_getVersion
*
* Public: Yes
*/
getText (configFile >> "CfgPatches" >> "ACE_main" >> "versionStr") // return