jbshop_lock_shop

Syntax

native jbshop_lock_shop(shopid)

Usage

shopid
Shop index

Description

Locks a specific shop so no players can access it.
The shop stays closed until manually opened with jbshop_unlock_shop()

Return

This function has no return value.

Error

If an invalid shop index is specified, an error will be thrown