mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
hide rearm action for the player
This commit is contained in:
parent
606c1fbcf9
commit
a2d4de605b
1
addons/norearm/$PBOPREFIX$
Normal file
1
addons/norearm/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\norearm
|
7
addons/norearm/CfgActions.hpp
Normal file
7
addons/norearm/CfgActions.hpp
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
class CfgActions {
|
||||
class None;
|
||||
class Rearm: None {
|
||||
show = 0;
|
||||
};
|
||||
};
|
15
addons/norearm/config.cpp
Normal file
15
addons/norearm/config.cpp
Normal 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"
|
12
addons/norearm/script_component.hpp
Normal file
12
addons/norearm/script_component.hpp
Normal 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"
|
Loading…
Reference in New Issue
Block a user