GetPlayerAuditViolations
How many audit violations were acted on for the player this session.
Syntax
Section titled “Syntax”GetPlayerAuditViolations(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”number
Example
Section titled “Example”if GetPlayerAuditViolations(pid) >= 3 then Ban(pid, "repeated inventory violations") endSee also
Section titled “See also”OnPlayerAuditViolation · the Accounts, admins, bans and the audit group of the index
