IsValidShop
Whether a shop id names a shop.
Syntax
Section titled “Syntax”IsValidShop(shop)| Parameter | Type | |
|---|---|---|
shop |
number | the id |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if not IsValidShop(store) then store = CreateShop("General store") endSee also
Section titled “See also”CreateShop · DestroyShop · the Shops and vendors group of the index
