diff options
author | Tim Angus <tim@ngus.net> | 2009-10-03 12:47:15 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:14 +0000 |
commit | c4fe8300adef0b3d63152c419f9411f14eb41831 (patch) | |
tree | 9384cc90a6e6fd23f3cdff90bfc5c85e5062f7b6 /src/cgame | |
parent | d8156afbb123a3493e2205b5f5b95ad8b98b172b (diff) |
* Use the MN_ system for team lock and player limit messages
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_servercmds.c | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index 28f42553..ae3e179e 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -511,17 +511,38 @@ void CG_Menu( int menu, int arg ) type = DT_COMMAND; break; + case MN_A_TEAMLOCKED: + longMsg = "The alien team is locked. You cannot join the aliens " + "at this time."; + shortMsg = "The alien team is locked"; + type = DT_COMMAND; + break; + + case MN_H_TEAMLOCKED: + longMsg = "The human team is locked. You cannot join the humans " + "at this time."; + shortMsg = "The human team is locked"; + type = DT_COMMAND; + break; + + case MN_PLAYERLIMIT: + longMsg = "The maximum number of playing clients has been reached. " + "Please wait until slots become available."; + shortMsg = "No free player slots"; + type = DT_COMMAND; + break; + case MN_A_TEAMCHANGEBUILDTIMER: longMsg = "You cannot leave the Alien team until your build timer " "has expired."; - shortMsg = "You cannot change teams until your build timer expires."; + shortMsg = "You cannot change teams until your build timer expires"; type = DT_COMMAND; break; case MN_H_TEAMCHANGEBUILDTIMER: longMsg = "You cannot leave the Human team until your build timer " "has expired."; - shortMsg = "You cannot change teams until your build timer expires."; + shortMsg = "You cannot change teams until your build timer expires"; type = DT_COMMAND; break; |