Merge from sourcemod-1.1.

This commit is contained in:
David Anderson
2009-02-01 02:37:00 -05:00
3 changed files with 26 additions and 3 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ public Action:Command_Say(client, args)
}
else
{
if (mapchooser && !HasEndOfMapVoteFinished())
if (mapchooser && EndOfMapVoteEnabled() && !HasEndOfMapVoteFinished())
{
PrintToChat(client, "[SM] %t", "Pending Vote");
}
+2 -2
View File
@@ -606,7 +606,7 @@ public Action:Command_AddGroup(client, args)
{
if (args < 2)
{
ReplyToCommand(client, "[SM] Usage: sm_sql_addgroup <flags> <name> [immunity]");
ReplyToCommand(client, "[SM] Usage: sm_sql_addgroup <name> <flags> [immunity]");
return Plugin_Handled;
}
@@ -660,8 +660,8 @@ public Action:Command_AddGroup(client, args)
Format(query,
sizeof(query),
"INSERT INTO sm_groups (flags, name, immunity_level) VALUES ('%s', '%s', '%d')",
safe_name,
safe_flags,
safe_name,
immunity);
if (!SQL_FastQuery(db, query))