Raised This Month: $32 Target: $400
 8% 

Anonymous kick plugin (?)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lolface992
Junior Member
Join Date: Aug 2019
Old 04-07-2020 , 17:23   Anonymous kick plugin (?)
Reply With Quote #1

Hello. There are some players on the servers which I can't ban with friends but we don't want to play with them. Is there any plugin which can make them disconnect, or ban anonymously without any reason or info who banned them? Maybe plugin which crash their game idk... Sorry for bad explanation and bad english I'm from uganda

Last edited by lolface992; 04-07-2020 at 17:23.
lolface992 is offline
dustinandband
Senior Member
Join Date: May 2015
Old 04-07-2020 , 21:37   Re: Anonymous kick plugin (?)
Reply With Quote #2

PHP Code:
public void OnClientPostAdminCheck(int client)
{
    if (!
client) return;
    
    
char sAuthID[32];
    if (!
GetClientAuthId(clientAuthId_SteamID64sAuthIDsizeof(sAuthID))) return; // steam servers down
    
    // steam 64 ID
    
if (StrEqual(sAuthID"76561197987819599") || StrEqual(sAuthID"76561197960265761"))
    {
        
FakeClientCommand(client"disconnect");
    }

dustinandband is offline
lolface992
Junior Member
Join Date: Aug 2019
Old 04-09-2020 , 15:09   Re: Anonymous kick plugin (?)
Reply With Quote #3

Quote:
Originally Posted by dustinandband View Post
PHP Code:
public void OnClientPostAdminCheck(int client)
{
    if (!
client) return;
    
    
char sAuthID[32];
    if (!
GetClientAuthId(clientAuthId_SteamID64sAuthIDsizeof(sAuthID))) return; // steam servers down
    
    // steam 64 ID
    
if (StrEqual(sAuthID"76561197987819599") || StrEqual(sAuthID"76561197960265761"))
    {
        
FakeClientCommand(client"disconnect");
    }



How to use IT?
lolface992 is offline
Enzyoo
Member
Join Date: Dec 2017
Location: Įsgaršr
Old 04-10-2020 , 18:46   Re: Anonymous kick plugin (?)
Reply With Quote #4

Quote:
Originally Posted by lolface992 View Post
How to use IT?
Replace the ID's and compile it.
Enzyoo is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode