- Documentation
- Server functions
- getBanIP
Function
getBanIP
Returns the IP address stored in the ban.
Syntax
string getBanIP(ban ban)Arguments
banban- The ban handle.
Returns
The IP address, or false if the ban has no IP.
Example
for _, ban in ipairs(getBans()) do
local ip = getBanIP(ban)
if ip then print("Zablokowane IP: " .. ip) end
end