zp_items_get_real_name
Returns an item's real name (used when registering the item).
Syntax
native zp_items_get_real_name(itemid, real_name[], len) /** * Returns an item's cost. * * @param itemid A valid item ID. * @return Item's cost. */ native zp_items_get_cost(itemid) /** * Shows menu with available extra items for player. * * @param id Player index. */ native zp_items_show_menu(id) /** * Forces a player to buy an extra item. * * @param id Player index. * @param itemid A valid extra item ID. * @param ignorecost If set, item's cost won't be deduced from player. * @return True on success, false otherwise. */ native zp_items_force_buy(id, itemid, ignorecost = false) /** * Appends text to an item being displayed on the extra items menu. * Use this on the item select pre forward.
Usage
| itemid | — |
| real_name | — |
| len | Character size of the output buffer. |
Return
True — on success, false otherwise.
Defined in
zp50_items.inc
at line 57
.
This documentation was automatically generated from source.