Lua IsItemEquipped

Lua : IsItemEquipped
Checks if the player has an item with the given ID equipped.

Parameters

 * (itemID)


 * itemID
 * ID of the item to check for.

Details

 * type
 * boolean


 * state
 * True if an item with that ID is equipped.