cshop_set_string

Registers a string setting for a specific item.

Syntax

native cshop_set_string(item, setting[], value[]) /** * Returns an integer value from a specific item's setting. * * @param item Item id. * @param setting Setting's name. * @return Setting's value. */ 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)

Usage

item Item id.
setting Setting's name.
value Setting's default value.

Return

This function has no return value.

Defined in customshop.inc at line 213 . This documentation was automatically generated from source.