ACE3/addons/captives/ACE_Settings.hpp

32 lines
1.2 KiB
C++

class ACE_Settings {
class GVAR(allowHandcuffOwnSide) {
category = CSTRING(DisplayName);
displayName = CSTRING(ModuleSettings_handcuffSide_name);
description = CSTRING(ModuleSettings_handcuffSide_description);
typeName = "BOOL";
value = 1;
};
class GVAR(requireSurrender) {
category = CSTRING(DisplayName);
displayName = CSTRING(ModuleSettings_requireSurrender_name);
description = CSTRING(ModuleSettings_requireSurrender_description);
typeName = "SCALAR";
values[] = {ECSTRING(common,Disabled), CSTRING(SurrenderOnly), CSTRING(SurrenderOrNoWeapon)};
value = 1;
};
class GVAR(allowSurrender) {
category = CSTRING(DisplayName);
displayName = CSTRING(ModuleSettings_allowSurrender_name);
description = CSTRING(ModuleSettings_allowSurrender_description);
typeName = "BOOL";
value = 1;
};
class GVAR(requireSurrenderAi) {
category = CSTRING(DisplayName);
displayName = CSTRING(ModuleSettings_requireSurrenderAi_name);
description = CSTRING(ModuleSettings_requireSurrenderAi_description);
typeName = "BOOL";
value = 0;
};
};