Skip to content

0x1E4/AntiProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AntiProxy

Detect user when they're using proxy to join a server (Useful when player got ban and wanted to rejoin)

Usage

public OnPlayerUseProxy(playerid)
{
    static string[128], pIP[64];
    SendClientMessage(playerid, -1, "You are banned from server because try login using VPN/Proxy");

    GetPlayerIp(playerid, pIP, sizeof(pIP));
    format(string, sizeof(string),"banip %s", type); 
    SendRconCommand(string); 
    SendRconCommand("reloadbans");
    return 1;
}

About

Detect user when they're using proxy to join a server (Useful when player got ban and wanted to rejoin)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors