Well, kinda something is wrong here
local weapons = {
["Samer"]=true,
["Woods"]=true,
["Thing"]=true,
["Robbster"]=true
}
GUIEditor_Window = {}
GUIEditor_Label = {}
GUIEditor_Grid = {}
heroesWindow = guiCreateWindow(207,81,372,449,"Heroes List:",false)
guiSetVisible(heroesWindow, false)
GUIEditor_Label[1] = guiCreateLabel(2,21,5,15,"",false,heroesWindow)
GUIEditor_Label[2] = guiCreateLabel(13,33,197,26,"This is our current Heroes List",false,heroesWindow)
heroesGrid = guiCreateGridList(15,57,343,379,false,heroesWindow)
guiGridListSetSelectionMode(heroesGrid,2)
local heroesColumn = guiGridListAddColumn(heroesGrid,"Heroes",2)
local row = guiGridListAddRow(heroesGrid)
guiGridListSetItemText(heroesGrid,row,heroesColumn,tostring(weapons),false,false)
addCommandHandler ("heroes",function()
if not guiGetVisible(heroesWindow) then
guiSetVisible(heroesWindow, true)
showCursor(true)
end
end)