GetPickpocketing
Whether pickpocketing is on, and its rules.
Syntax
Section titled “Syntax”GetPickpocketing()Returns
Section titled “Returns”boolean, table - enabled, and the rules table - {range, cooldown, max_items, max_stack, behind_only, min_seconds, money, money_share, money_cap, actors, deny} (deny a list), the defaults until SetPickpocketing gave others
Example
Section titled “Example”local on, rules = GetPickpocketing()SendClientMessage(pid, COLOR_SERVER, on and ("pickpocketing is on, " .. rules.cooldown .. " s per victim") or "pickpocketing is off")See also
Section titled “See also”SetPickpocketing · the Pickpocketing group of the index
