zp_items_menu_text_add

Appends text to an item being displayed on the extra items menu. Use this on the item select pre forward.

Syntax

native zp_items_menu_text_add(const text[]) /** * 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) * * @param id Player index. * @param itemid Internal item ID. * @param ignorecost Whether item cost should be ignored. */ 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

text Additional text to display.
Defined in zp50_items.inc at line 90 . This documentation was automatically generated from source.