Initial commit
This commit is contained in:
7
api/EquipItemByName.lua
Normal file
7
api/EquipItemByName.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param itemID number
|
||||
---@param itemName string
|
||||
---@param itemLink string
|
||||
---Attempts to equip an arbitrary item. The item is automatically equipped in the first available slot in which it fits. To equip an item in a specific slot, see EquipCursorItem(). Causes an error message (UI_ERROR_MESSAGE) if the specified item cannot be equipped. Does nothing if the specified item does not exist or is not in the player's possession.
|
||||
function EquipItemByName(itemID, itemName, itemLink) end
|
||||
Reference in New Issue
Block a user