GuiInterface.setItemIcon
Sets the resource, group and item name on an imagebox widget
Kind: Function
Environments: Game
Game
guiInterface:setItemIcon( imagebox, itemResource, itemGroup, itemName )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
gui |
GuiInterface | The Gui interface |
imagebox |
string | The name of the imagebox |
itemResource |
string | The item resource |
itemGroup |
string | The item group |
itemName |
string | The item name |