BanAddress
Bans an address; whoever is on from it is kicked.
Syntax
Section titled “Syntax”BanAddress(address, reason [, seconds])| Parameter | Type | |
|---|---|---|
address |
string | "a.b.c.d" |
reason |
string | the reason |
seconds |
number | how long; 0 or none = for good (optional) |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”BanAddress(GetPlayerIP(pid), "ban evasion", 3600)See also
Section titled “See also”Ban · BanName · Unban · GetPlayerIP · the Accounts, admins, bans and the audit group of the index
