Yo, i'm trying to block "ping" command but it doesn't work for me?
i tried everything but idk how ..
PHP Code:
public CS_InternalCommand( id, const szCommand[ ] )
{
new cmd[5] = "ping";
if (equal(szCommand,cmd,5) )
{
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}
or this
PHP Code:
public cmd_ShowPlayersPing(id)
{
return PLUGIN_HANDLED_MAIN;
}
__________________