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 item

An instance of an item.

number entry

Entry of the item.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

boolean canUse
See method description.

Generated on
© 2010 - 2024 Eluna Lua Engine