native zp_items_register(const name[], cost)
name | Caption to display on the menu. |
cost | Cost to display on the menu. |
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.
An internal item ID, or ZP_INVALID_ITEM on failure.
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.