mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
26 lines
917 B
C++
26 lines
917 B
C++
class CfgVehicles {
|
|
class ACE_Module;
|
|
class GVAR(ModuleSettings) : ACE_Module {
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
category = "ACE";
|
|
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)";
|
|
typeName = "NUMBER";
|
|
defaultValue = 10000;
|
|
};
|
|
};
|
|
};
|
|
}; |