No categories assigned
LUA:GetItemID
- Last edited 6 years ago by I need to Update My Profile
LUA - GetItemID
Return to: LUA | Tutorials | Portal | Forum | Project Manager | Bug Tracker
LUA Functions: GetItemID()
Gets the DB ID of the given item
Syntax
GetItemID(param1)
Parameters
- Required - param1 (Item)
- param1 is the item we want the id for
Usage
local id = GetItemID(Item)
Say(Player, "Item id is: " . id)
Has the player say the id of the item.