#include "script_component.hpp" #include "XEH_PREP.hpp" private _restraints = (QUOTE(getNumber (_x >> QQGVAR(restraint)) > 0) configClasses (configFile >> "CfgWeapons") apply {configName _x}); uiNamespace setVariable [QGVAR(restraints), compileFinal str _restraints];