ACE3/addons/viewdistance/CfgVehicles.hpp

26 lines
917 B
C++
Raw Normal View History

class CfgVehicles {
2015-05-09 11:05:36 +00:00
class ACE_Module;
class GVAR(ModuleSettings) : ACE_Module {
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
2015-05-09 11:05:36 +00:00
function = QUOTE(DFUNC(initModule));
displayName = "View Distance Limiter";
scope = 2;
isGlobal = 1;
//icon = ""; // needs an icon
class Arguments {
class moduleViewDistanceEnabled {
displayName = "Enable ACE viewdistance";
description = "Enables ACE viewdistance";
typeName = "BOOL";
defaultValue = 1;
};
class moduleViewDistanceLimit {
displayName = "View Distance Limit";
description = "Sets the limit for how high clients can raise their view distance (<= 10000)";
2015-05-09 12:51:23 +00:00
typeName = "NUMBER";
defaultValue = 10000;
};
};
};
};