CanPlayerPickpocket
Whether the player may rob others.
Syntax
Section titled “Syntax”CanPlayerPickpocket(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean - true unless SetPlayerCanPickpocket took the right away; false for an id that is no player
Example
Section titled “Example”if not CanPlayerPickpocket(pid) then return false endSee also
Section titled “See also”SetPlayerCanPickpocket · IsPlayerPickpocketable · the Pickpocketing group of the index
