Lua HasItem

Lua : HasItem
Checks if the player has an item with the given ID in their bags.

Parameters

 * (itemID)


 * itemID
 * ID of the item to check for.

Details

 * type
 * boolean


 * state
 * True if the item exists in the players bag.