Skip to content

IsPlayerPickpocketable

Whether the player’s pockets may be picked.

IsPlayerPickpocketable(pid)
Parameter Type
pid number the player

boolean - true unless SetPlayerPickpocketable took them out; false for an id that is no player (whether pickpocketing is on at all is GetPickpocketing’s)

if not IsPlayerPickpocketable(target) then SendClientMessage(pid, COLOR_RED, "Their pockets are sewn shut.") end

SetPlayerPickpocketable · CanPlayerPickpocket · the Pickpocketing group of the index