Skip to content

Commit

Permalink
Fix rcon say errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewClair committed Aug 6, 2013
1 parent c17b407 commit 7f6f415
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pause.sp
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,14 @@ public Action:Say_Callback(client, const String:command[], argc)
{
return Plugin_Continue;
}
CPrintToChatAllEx(client, "{teamcolor}%N{default} : %s", client, buffer);
if (client == 0)
{
PrintToChatAll("Console : %s", buffer);
}
else
{
CPrintToChatAllEx(client, "{teamcolor}%N{default} : %s", client, buffer);
}
return Plugin_Handled;
}
return Plugin_Continue;
Expand Down

0 comments on commit 7f6f415

Please sign in to comment.