hide rearm action for players

This commit is contained in:
commy2 2015-03-26 14:14:56 +01:00
parent 6317dccb52
commit 164e8f95c9
4 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1 @@
z\ace\addons\norearm

View File

@ -0,0 +1,7 @@
class CfgActions {
class None;
class Rearm: None {
show = 0;
};
};

15
addons/norearm/config.cpp Normal file
View File

@ -0,0 +1,15 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author[] = {"commy2"};
authorUrl = "https://github.com/commy2";
VERSION_CONFIG;
};
};
#include "CfgActions.hpp"

View File

@ -0,0 +1,12 @@
#define COMPONENT norearm
#include "\z\ace\addons\main\script_mod.hpp"
#ifdef DEBUG_ENABLED_NOREARM
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_ENABLED_NOREARM
#define DEBUG_SETTINGS DEBUG_ENABLED_NOREARM
#endif
#include "\z\ace\addons\main\script_macros.hpp"