Lua UseItem

Lua : UseItem
Uses an item with the given ID, if possible.

Parameters

 * (itemID)


 * itemID
 * ID of the item to use.

Details

 * type
 * boolean


 * state
 * True if the item was used.