Functions in customshop.inc

Function Description
cshop_register_item
Registers a new item.
cshop_has_item
Checks whether a player has an item or not.
cshop_points_enabled
Checks whether the points system is enabled.
cshop_get_limit
Checks player's item limit.
cshop_remove_item
Removes a player's item.
cshop_item_selected
Called right before an item is purchased.
cshop_item_removed
Called when an item is removed.
cshop_menu_opened
Called right before the menu is opened.
cshop_error_sound
Plays the error sound on a player.
cshop_total_items
Gets the total number of loaded items.
cshop_give_points
Give/take points to/from a player.
cshop_get_points
Return player points.
cshop_get_prefix
Gets the plugin prefix.
cshop_open
Tries to open the shop menu.
cshop_set_int
Registers an integer setting for a specific item.
cshop_set_float
Registers a float setting for a specific item.
cshop_set_string
Registers a string setting for a specific item.
cshop_get_int
Returns an integer value from a specific item's setting.
cshop_get_float
Returns a float value from a specific item's setting.
cshop_get_string
Returns a string value from a specific item's setting.
cshop_find_item_by_id
Returns item's unique id.
cshop_get_item_data
Returns item data.
cshop_set_price
Called before a menu price is set.