native

zp_items_force_buy

Syntax

native zp_items_force_buy(id, itemid, ignorecost = false)

Description

Forces a player to buy an extra item.

Parameters

id Player index.
itemid A valid extra item ID.
ignorecost If set, item's cost won't be deduced from player.

Return

True on success, false otherwise.