forward

zp_extra_item_selected

Syntax

forward zp_extra_item_selected(id, itemid)

Description

Called when a player buys an extra item from the ZP menu.

Note: You can now return ZP_PLUGIN_HANDLED in your plugin to block
the purchase and the player will be automatically refunded.

Parameters

id Player index of purchaser.
itemid Internal extra item ID.