Quote:
Originally Posted by flamin
PHP Code:
if ( arg[0] == '.' || arg[0] == '!') { client_cmd(id,arg); return PLUGIN_CONTINUE; }
return PLUGIN_CONTINUE;
|
First of all, this code is completely wrong. I already told you why it is wrong. And, we told you how to prevent the chat from being shown.
Quote:
Originally Posted by flamin
But now i want bolckear 1 single command nothing but not to be displayed on the screen, which is this:
PHP Code:
public cmd_votekick(id,level,cid)
{
. . .
}
All are shown on the screen and this very well but i want you do not show this....
|
This command, as I have already told you, is NOT a chat command. The only thing in this command that shows to everybody is the client_print(0, . . .) and the console_print(0, . . .); remove those lines I guess. AND it doens't show anything about who executed that command.
__________________