/* * Author: esteldunedain * Returns the metadata of a setting if it exists * * Arguments: * 0: Setting Name * * Return Value: * Setting Data * 0: Name * 1: Type Name * 2: Is Client Settable * 3: Localized Name * 4: Localized Description * 5: Possible Values * 6: Is Forced * 7: Default Value * 8: Localized Category * * Example: * ["setting"] call ace_common_fnc_getSettingData * * Public: No */ #include "script_component.hpp" params ["_name"]; scopeName "main"; { if (_x select 0 == _name) then { _x breakOut "main"; }; false } count GVAR(settings); []