GetPlayerShop
The shop open on a player’s screen.
Syntax
Section titled “Syntax”GetPlayerShop(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”number - the shop; nil when none
Example
Section titled “Example”if GetPlayerShop(pid) then SendClientMessage(pid, COLOR_RED, "Finish your shopping first.") return true endSee also
Section titled “See also”OpenShop · CloseShop · the Shops and vendors group of the index
