Interface:Actions - novasdream/forgottenserver GitHub Wiki

Actions stuff... (TODO)

-- Empty!

###Available events: onUse()


###### onUse() > **Description:** This event runs each time a player uses an item by itself or with another item. > **Parameters:**
  • _cid_ - _Creature ID that uses the item._
  • _item_ - _Use or Use with... (first item)_
  • _fromPosition_ - _Starting position_
  • _itemEx_ - _Use with... (second item or creature)_
  • _toPosition_ - _End position_
  • _isHotkey_ - _Boolean, true if hotkey was used_
> **Accepted return values:** Boolean, false for a "You can not use this object." message, otherwise true > **Example:** ```Lua N/A ``` Added in version: 1.0
⚠️ **GitHub.com Fallback** ⚠️