Skip to content
0x1E4Public

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages