Skip to content

GetPickpocketing

Whether pickpocketing is on, and its rules.

GetPickpocketing()

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

local on, rules = GetPickpocketing()
SendClientMessage(pid, COLOR_SERVER, on and ("pickpocketing is on, " .. rules.cooldown .. " s per victim") or "pickpocketing is off")

SetPickpocketing · the Pickpocketing group of the index