zp_items_get_name

Returns an item's name.

Syntax

native zp_items_get_name(itemid, name[], len) /** * Returns an item's real name (used when registering the item). * * @param classid A valid item ID. * @param name The buffer to store the string in. * @param len Character size of the output buffer. * @return True on success, false otherwise. */ 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. *

Usage

itemid A valid item ID.
name The buffer to store the string in.
len Character size of the output buffer.

Return

True — on success, false otherwise.

Defined in zp50_items.inc at line 47 . This documentation was automatically generated from source.