openShop
Opens a clothing shop NUI interface by database shop ID or opens the closest dynamic shop.
💡 Syntax
exports['kartik-clothing']:openShop(shopId)📥 Parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
shopId | number | Yes | Database shop ID (kc_shops). If omitted, opens the closest nearby shop zone. |
💻 Example
-- Open closest clothing shop
exports['kartik-clothing']:openShop()
-- Open shop ID 5 specifically
exports['kartik-clothing']:openShop(5)