ACE3/addons/optionsmenu/functions/fnc_moduleAllowConfigExport.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

28 lines
408 B
Plaintext

/*
* Author: Glowbal
*
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* call ace_optionsmenu_fnc_moduleAllowConfigExport
*
* Public: No
*/
#include "script_component.hpp"
params ["_logic"];
if (isMultiplayer) exitWith {};
if (_logic getVariable ["allowconfigurationExport", false]) then {
GVAR(serverConfigGeneration) = 1;
} else {
GVAR(serverConfigGeneration) = 0;
};