View Single Post
Author Message
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 01-24-2019 , 20:42   CS_InternalCommand not working?
Reply With Quote #1

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_InternalCommandid, 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;

__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline