Function
getBans
Returns every active ban. Bans that have already expired are skipped.
Syntax
table getBans()Differences from MTA:SA
- In MTA:SA this function is client-side only.
In MTA:SA
getBans()Returns
A table of ban handles (may be empty).
Example
local bans = getBans()
print("Aktywnych banów: " .. #bans)