- Documentation
- Server functions
- getBanAdmin
Function
getBanAdmin
Returns the name of whoever issued the ban.
Syntax
string getBanAdmin(ban ban)Arguments
banban- The ban handle.
Returns
The admin's name, or false if none was stored.
Example
for _, ban in ipairs(getBans()) do
print((getBanNick(ban) or "?") .. " - zbanował: " .. (getBanAdmin(ban) or "konsola"))
end