about summary refs log tree commit diff
path: root/src/game/variables.h
diff options
context:
space:
mode:
authorTeetime <anton.tsoulos@yahoo.de>2011-10-31 17:30:56 +0100
committerTeetime <anton.tsoulos@yahoo.de>2011-10-31 17:30:56 +0100
commitde2647f67f3d8248dcaf6acf091c671d50e369f7 (patch)
tree6a1df7cbb2f78281de8f14c4bb6871edde3ec406 /src/game/variables.h
parente4e31b1515435dddc425d7e1a637fee5aaadb9dc (diff)
downloadzcatch-de2647f67f3d8248dcaf6acf091c671d50e369f7.tar.gz
zcatch-de2647f67f3d8248dcaf6acf091c671d50e369f7.zip
added anticamper
Diffstat (limited to 'src/game/variables.h')
-rw-r--r--src/game/variables.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/variables.h b/src/game/variables.h
index b2ed91d6..3f0d7bf9 100644
--- a/src/game/variables.h
+++ b/src/game/variables.h
@@ -100,4 +100,7 @@ MACRO_CONFIG_INT(SvFollowCatcher, sv_follow_catcher, 1, 0, 1, CFGFLAG_SERVER, "I
 MACRO_CONFIG_INT(SvChatValue, sv_chat_value, 250, 100, 1000, CFGFLAG_SERVER, "A value wich is added on each message and decreased on each tick")
 MACRO_CONFIG_INT(SvChatThreshold, sv_chat_threshold, 1000, 250, 10000, CFGFLAG_SERVER, "If this threshold will exceed by too many messages the player will be muted")
 MACRO_CONFIG_INT(SvMuteDuration, sv_mute_duration, 60, 0, 3600, CFGFLAG_SERVER, "How long the player will be muted (in seconds)")
+MACRO_CONFIG_INT(SvAnticamper, sv_anticamper, 1, 0, 1, CFGFLAG_SERVER, "Toggle to enable/disable Anticamper")
+MACRO_CONFIG_INT(SvAnticamperTime, sv_anticamper_time, 10, 5, 120, CFGFLAG_SERVER, "How long to wait till the player dies/freezes")
+MACRO_CONFIG_INT(SvAnticamperRange, sv_anticamper_range, 200, 0, 1000, CFGFLAG_SERVER, "Distance how far away the player must move to escape anticamper")
 #endif