ACE3/addons/viewdistance/CfgVehicles.hpp

31 lines
1.0 KiB
C++
Raw Normal View History

class CfgVehicles {
2015-05-09 11:05:36 +00:00
class ACE_Module;
class GVAR(ModuleSettings) : ACE_Module {
2015-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
category = "ACE";
2015-05-09 11:05:36 +00:00
function = QUOTE(DFUNC(initModule));
2015-06-06 02:02:24 +00:00
displayName = CSTRING(Module_DisplayName);
scope = 2;
isGlobal = 1;
isSingular = 1;
//icon = ""; // needs an icon
class Arguments {
class moduleViewDistanceEnabled {
2015-06-06 02:02:24 +00:00
displayName = CSTRING(enabled_DisplayName);
description = CSTRING(enabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
class moduleViewDistanceLimit {
2015-06-06 02:02:24 +00:00
displayName = CSTRING(limit_DisplayName);
description = CSTRING(limit_Description);
2015-05-09 12:51:23 +00:00
typeName = "NUMBER";
defaultValue = 10000;
};
};
2015-06-06 02:02:24 +00:00
class ModuleDescription {
description = CSTRING(Module_Description);
sync[] = {};
};
};
};