Fixed typos in some usage replies (bug 4552, r=dvander).

This commit is contained in:
Erik Minekus 2010-08-02 09:44:49 -04:00
parent 5fa8972ae6
commit bcc1c2e658
2 changed files with 4 additions and 4 deletions

View File

@ -997,7 +997,7 @@ void CExtensionManager::OnRootConsoleCommand(const char *cmdname, const CCommand
{ {
if (argcount < 4) if (argcount < 4)
{ {
g_RootMenu.ConsolePrint("[SM] Usage: sm info <#>"); g_RootMenu.ConsolePrint("[SM] Usage: sm exts info <#>");
return; return;
} }
@ -1005,7 +1005,7 @@ void CExtensionManager::OnRootConsoleCommand(const char *cmdname, const CCommand
unsigned int id = atoi(sId); unsigned int id = atoi(sId);
if (id <= 0) if (id <= 0)
{ {
g_RootMenu.ConsolePrint("[SM] Usage: sm info <#>"); g_RootMenu.ConsolePrint("[SM] Usage: sm exts info <#>");
return; return;
} }
@ -1082,7 +1082,7 @@ void CExtensionManager::OnRootConsoleCommand(const char *cmdname, const CCommand
{ {
if (argcount < 4) if (argcount < 4)
{ {
g_RootMenu.ConsolePrint("[SM] Usage: sm unload <#> [code]"); g_RootMenu.ConsolePrint("[SM] Usage: sm exts unload <#> [code]");
return; return;
} }

View File

@ -220,7 +220,7 @@ public Action:Command_AddBan(client, args)
/* Get time */ /* Get time */
if ((len = BreakString(arg_string, time, sizeof(time))) == -1) if ((len = BreakString(arg_string, time, sizeof(time))) == -1)
{ {
ReplyToCommand(client, "t[SM] Usage: sm_addban <time> <steamid> [reason]"); ReplyToCommand(client, "[SM] Usage: sm_addban <time> <steamid> [reason]");
return Plugin_Handled; return Plugin_Handled;
} }
total_len += len; total_len += len;