Kartik Scripts

openShop

Opens a clothing shop NUI interface by database shop ID or opens the closest dynamic shop.

💡 Syntax

exports['kartik-clothing']:openShop(shopId)

📥 Parameters

ParameterTypeOptionalDescription
shopIdnumberYesDatabase 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)

On this page