cshop_get_int
Returns an integer value from a specific item's setting.
Syntax
native cshop_get_int(item, setting[]) /** * Returns a float value from a specific item's setting. * * @param item Item id. * @param setting Setting's name. * @return Setting's value. */ 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[])
Usage
| item | Item id. |
| setting | Setting's name. |
Return
Setting's value.
Defined in
customshop.inc
at line 222
.
This documentation was automatically generated from source.