def click_use_item(self):if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):for i in xrange(player.INVENTORY_PAGE_SIZE*player.INVENTORY_PAGE_COUNT):for s in xrange(len(item_list)):if player.GetItemIndex(i)==(item_list[s][0]):
net.SendItemUsePacket(i)break
Instalation: game.py
## Add below imports
item_list = [ [20201], [20202], [20203], [20204], [20205], [20206], [20207], [20208], [20209], [20210], [20211], [20212], [20213], [20214], ]## Search
## Add Below
## Add to the bottom of the file
## ATTENTION TO THE SPACES