IOQ3 commit 2254

This commit is contained in:
Richard Allen 2012-10-04 14:30:41 +00:00
parent f8215ff6af
commit 8678958709
1 changed files with 7 additions and 2 deletions

View File

@ -295,7 +295,7 @@ void Svcmd_RemoveIP_f(void)
char str[MAX_TOKEN_CHARS];
if (trap_Argc() < 2) {
G_Printf("Usage: sv removeip <ip-mask>\n");
G_Printf("Usage: removeip <ip-mask>\n");
return;
}
@ -431,6 +431,11 @@ void Svcmd_ForceTeam_f(void)
gclient_t *cl;
char str[MAX_TOKEN_CHARS];
if ( trap_Argc() < 3 ) {
G_Printf("Usage: forceteam <player> <team>\n");
return;
}
// find the player
trap_Argv(1, str, sizeof(str));
cl = ClientForString(str);