native

zp_force_buy_extra_item

Syntax

native zp_force_buy_extra_item(id, itemid, ignorecost = 0);

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.

Error

If Extra Item index are invalid