Method Player:CanUseItem [-] [+]
Returns 'true' if the Player can use the item or item entry specified, 'false' otherwise.
Synopsis
canUse = Player:CanUseItem( item )
canUse = Player:CanUseItem( entry )
Arguments
Item itemAn instance of an item.
number entryEntry of the item.
Valid numbers: integers from 0 to 4,294,967,295.
Returns
boolean canUse- See method description.