summaryrefslogtreecommitdiff
path: root/src/game/g_admin.h
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-04-16 21:07:23 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-04-18 01:14:59 +0200
commit5b1432ceacc84de2abfb4cfd0e6c040ab5cb9491 (patch)
tree465613461078c2060236ab8ff7b8428da23870fe /src/game/g_admin.h
parent259c996ebe14cdb52e4a47149ce6c33dbeffa4d3 (diff)
The Autobahn system.
This commit adds two important things: * Automatically dropping a player if their score is too low. * Restricting a player while waiting for a reply from Schachtmeister.
Diffstat (limited to 'src/game/g_admin.h')
-rw-r--r--src/game/g_admin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_admin.h b/src/game/g_admin.h
index b6ed952..61d4353 100644
--- a/src/game/g_admin.h
+++ b/src/game/g_admin.h
@@ -106,6 +106,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define ADMF_NO_CHAT ".NOCHAT"
#define ADMF_NO_VOTE ".NOVOTE"
+#define ADMF_NOAUTOBAHN "NOAUTOBAHN"
+
#define MAX_ADMIN_LISTITEMS 20
#define MAX_ADMIN_SHOWBANS 10
@@ -374,5 +376,6 @@ void G_admin_namelog_cleanup( void );
void G_admin_report_check( int clientNum );
void G_admin_schachtmeisterFrame( void );
+qboolean G_admin_is_restricted(gentity_t *ent, qboolean sendMessage);
#endif /* ifndef _G_ADMIN_H */