allow only 5 suicides every 5 seconds in CTS. No killmessage (centerprint) needed...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / defs.qh
index 76ce748ca8d93ec1d163d8431a4f4b10f53957ea..d46cca686c051fd24b0e14705f29961cbf9067bb 100644 (file)
@@ -659,3 +659,5 @@ float serverflags;
 .float freezetag_frozen;
 .float freezetag_beginrevive_time;
 .float freezetag_revive_progress;
+
+.float killcnt; // keep track of how many times a player has suicided during the previous 5 seconds