Solved Scripting Help Clientmod_bypassV1

EzEnDLeSs

New member
hi i want block clientmod bypass with this plugin but me cant read client console
thats my

C++:
new String:command_check[128];

public OnPluginStart()
{
    FormatEx(command_check, sizeof(command_check), "setinfo e_c4_timer 1");
    HookUserMessage(GetUserMessageId("TextMsg"), MessageHandler, true);
    
}
public OnClientPutInServer(client)
{
    CreateTimer(0.1, CLientInfoChecker, GetClientUserId(client));
}
public Action:CLientInfoChecker(Handle:timer, any:userid)
{
    new client = GetClientOfUserId(userid);
    if(client)
    {
        Check(client);
    }
}
Check(client)
{
    new Handle:KV = CreateKeyValues("ClientMod_Bypass");
    KvSetString(KV, "cmd", command_check);
    ShowVGUIPanel(client, "info", KV);
    CloseHandle(KV);
}
public Action:MessageHandler(UserMsg:msg_id, Handle:bf, const players[], playersNum, bool:reliable, bool:init)
{
    new String:message[256];
    BfReadString(bf, message, sizeof(message));
    new String:msg[256];
    Format(msg, sizeof(msg), "%s", message[1]);
    TrimString(msg);
    if (StrEqual(msg, "Convar e_c4_timer is already registered but not as user info value"))
    {
        PrintToChatAll("User Use Clientmod");
    }
    else
        PrintToChatAll("User Old css player");
        
    
    return Plugin_Handled;
}
 

Vertigo

⍥????
Staff member
Administrator
Last edited:

Vertigo

⍥????
Staff member
Administrator
Of course they can join.
But only if you visit to each player house and tell them, "Hey, I am using this convar to kick you in my plugin. You can bypass it by setting this convar value to 1."
 
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock