ze_select_item_pre

Синтаксис

forward ze_select_item_pre(id, iItemid, bIgnoreCost);

Употреба

id
Client index.
iItemid
Index of item he try to buy.
bIgnoreCost
true will ignore the cost, false will not ignore cost.

Описание

Description:          Called when player opens the extra-items menu.
                      Or when he choose the item but before he get it.

Връщаща стойност

ZE_ITEM_AVAILABLE   | Shows item in the menu, player can also buy it.
ZE_ITEM_UNAVAILABLE | Show to player but he can't but it.
ZE_ITEM_DONT_SHOW   | Item not appear to that player.