zp_fw_items_select_pre

Called when determining whether an item should be available to a player. Possible return values are: - ZP_ITEM_AVAILABLE (show in menu, allow selection) - ZP_ITEM_NOT_AVAILABLE (show in menu, don't allow selection) - ZP_ITEM_DONT_SHOW (don't show in menu, don't allow selection)

Syntax

forward zp_fw_items_select_pre(id, itemid, ignorecost) /** * Called after a player selected an item from the extra items menu. * * @param id Player index. * @param itemid Internal item ID. * @param ignorecost Whether item cost should be ignored. */ forward zp_fw_items_select_post(id, itemid, ignorecost)

Usage

id Player index.
itemid Internal item ID.
ignorecost Whether item cost should be ignored.
Defined in zp50_items.inc at line 104 . This documentation was automatically generated from source.