as mentioned before in this thread, there are some commands that sm_blockcommand is not capable of blocking, for example "jointeam" in cs:s
here is some code that fixes that (might have a problem if executed more than once on same command, like in a server.cfg)
Code:
new flags = GetCommandFlags(command);
if(flags == -1)
RegConsoleCmd(command, Cmd_Null);
else
SetCommandFlags(command, flags|FCVAR_CHEAT);
ReplyToCommand(0, "Command successfully blocked");
...
public Action:Cmd_Null(client, args)
{
return Plugin_Handled;
}