r1769 - branches/nexuiz-2.0/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Jul 22 16:37:04 EDT 2006
Author: div0
Date: 2006-07-22 16:37:04 -0400 (Sat, 22 Jul 2006)
New Revision: 1769
Modified:
branches/nexuiz-2.0/data/qcsrc/server/teamplay.qc
Log:
[backport] time/fraglimit in welcome message
Modified: branches/nexuiz-2.0/data/qcsrc/server/teamplay.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/teamplay.qc 2006-07-22 20:36:34 UTC (rev 1768)
+++ branches/nexuiz-2.0/data/qcsrc/server/teamplay.qc 2006-07-22 20:37:04 UTC (rev 1769)
@@ -408,6 +408,12 @@
s = strcat(s, "\n\n^8MOTD: ^7", cvar_string("_motd"));
}
+ s = strcat(s, "\n");
+ if(cvar("fraglimit"))
+ s = strcat(s, "\n^8frag limit: ^7", cvar_string("fraglimit"));
+ if(cvar("timelimit"))
+ s = strcat(s, "\n^8time limit: ^7", cvar_string("timelimit"), " minutes");
+
s = strzone(s);
centerprint(pl, s);
More information about the nexuiz-commits
mailing list