cshop_remove_item

Removes a player's item.

Syntax

native cshop_remove_item(id, item) #define cshopRemoveItem cshop_remove_item /** * Called right before an item is purchased. * * @param id Player's index. * @param item Item ID. * @noreturn */ forward cshop_item_selected(id, item) #define cshopItemBought cshop_item_selected /** * Called when an item is removed. * * @param id Player's index. * @param item Item ID. * @noreturn */ forward cshop_item_removed(id, item) #define cshopItemRemoved cshop_item_removed /** * Called right before the menu is opened. * * @param id Player's index. * @noreturn */ forward cshop_menu_opened(id, item)

Usage

id Player's index.
item Item ID.

Return

This function has no return value.

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