r1767 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Jul 22 16:35:49 EDT 2006
Author: div0
Date: 2006-07-22 16:35:49 -0400 (Sat, 22 Jul 2006)
New Revision: 1767
Modified:
trunk/data/qcsrc/server/teamplay.qc
Log:
time/fraglimit in welcome message
Modified: trunk/data/qcsrc/server/teamplay.qc
===================================================================
--- trunk/data/qcsrc/server/teamplay.qc 2006-07-21 19:39:42 UTC (rev 1766)
+++ trunk/data/qcsrc/server/teamplay.qc 2006-07-22 20:35:49 UTC (rev 1767)
@@ -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);
centermsg_setallfor(pl, s);
More information about the nexuiz-commits
mailing list