UnBlockIpAddress

From SA-MP Wiki

Jump to: navigation, search


This function was added in SA-MP 0.3z R2-2 and will not work in earlier versions!


Description:

Unblock an IP address that was previously blocked using BlockIpAddress.


Parameters:
(ip_address[])
ip_addressThe IP address to unblock.


Return Values:

1 if ip_address string is not empty, otherwise 0.


public OnGameModeInit()
{
    UnBlockIpAddress("127.0.0.1");
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

  • BlockIpAddress: Block an IP address from connecting to the server for a set amount of time.
In other languages