cshop_menu_opened

Called right before the menu is opened.

Syntax

forward cshop_menu_opened(id, item) /** * Plays the error sound on a player. * * @param id Player's index. * @noreturn */ native cshop_error_sound(id) #define cshopErrorSound cshop_error_sound /** * Gets the total number of loaded items. * * @return Total number of loaded items. */ native cshop_total_items() #define cshopTotalItems cshop_total_items /** * Give/take points to/from a player. * * @param id Player's index. * @param points Amount of points. * @noreturn */ native cshop_give_points(id, points) #define cshopGivePoints cshop_give_points /**

Usage

id Player's index.
item

Return

This function has no return value.

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