jbshop_give_item

Syntax

native bool:jbshop_give_item(id, shopid, itemid)

Usage

id
Client index
shopid
Shop index
itemid
Item index

Description

Gives the player an item from the specified shop.

Return

True on success, fale otherwise

Error

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