zp_items_get_id
Returns an item's ID.
Syntax
native zp_items_get_id(const real_name[]) /** * Returns an item's name. * * @param itemid 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_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)
Usage
| real_name | — |
Return
Internal — item ID, or ZP_INVALID_ITEM if not found.
Defined in
zp50_items.inc
at line 37
.
This documentation was automatically generated from source.