BlockIpAddress and UnBlockIpAddress #25
Labels
compatibility
Compatibility with latest version of SAMP
depends on blue
The feature might depend on MTA:SA source code
function
SAMP functions
Uh oh!
There was an error while loading. Please reload this page.
Function name
BlockIpAddress(ip_address[], timems)
UnBlockIpAddress(ip_address[])
ip_address The IP to block.
timems The time (in milliseconds) that the connection will be blocked for. 0 can be used for an indefinite block.
Describe the function
Blocks an IP address from further communication with the server for a set amount of time (with wildcards allowed). Players trying to connect to the server with a blocked IP address will receive the generic "You are banned from this server." message. Players that are online on the specified IP before the block will timeout after specific amount of seconds and, upon reconnect, will receive the same message. Effect takes place only when server is running (it is not persistent).
Equivalent in MTA
https://wiki.multitheftauto.com/wiki/AddBan
https://wiki.multitheftauto.com/wiki/RemoveBan
But there is a problem.
Additional information
BlockIpAddress
UnBlockIpAddress
The text was updated successfully, but these errors were encountered: