AMXX-BG.INFO zp50_items.inc

zp50_items

Browse all symbols documented inside this include file.

Functions

Name Description
zp_items_register Registers a custom item which will be added to the extra items menu of ZP. Note: The returned item ID can be later used to catch item selection events for the zp_item_select_() forwards.
zp_items_get_id Returns an item's ID.
zp_items_get_name Returns an item's name.
zp_items_get_real_name Returns an item's real name (used when registering the item).
zp_items_get_cost Returns an item's cost.
zp_items_show_menu Shows menu with available extra items for player.
zp_items_force_buy Forces a player to buy an extra item.
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.