cshop_get_float
Returns a float value from a specific item's setting.
Syntax
native Float:cshop_get_float(item, setting[]) /** * Returns a string value from a specific item's setting. * * @param item Item id. * @param setting Setting's name. * @param value Buffer for the value. * @param len Buffer length. * @noreturn */ native cshop_get_string(item, setting[], value[], len) /** * Returns item's unique id. * * @param id Item id (string). * @return Item id (integer). */ native cshop_find_item_by_id(id[]) /** * Returns item data. * * @param item Item id. * @param type Data type. * @param buffer Buffer to store string data in. * @param buffer Buffer length. * @return Integer or float type data. -1 on failure. */
Usage
| item | Item id. |
| setting | Setting's name. |
Return
Float — Setting's value.
Defined in
customshop.inc
at line 231
.
This documentation was automatically generated from source.