Is this a bug? I'm using the current stable sourcemod build 5255, running on TF2.
Whenever you type something in chat for example "hello world a b c", the number of arguments printed out is always 1.
But if you type "say hello world a b c" in the console, the number of arguments printed is 5.
Here was a test i was doing., unless i'm doing something wrong.
PHP Code:
#pragma newdecls required
#include <sourcemod>
public void OnPluginStart() {
AddCommandListener(OnCommandSay, "say");
AddCommandListener(OnCommandSay, "say_team");
}
public Action OnCommandSay(int client, const char[] command, int args) {
PrintToChatAll("%d", args);
}
__________________