Hay,
kann mir bitte wer sagen, wieso die Spielerliste gar nicht erst aufgeht?^^
Lua
GUIEditor_Window = {}
GUIEditor_Label = {}
GUIEditor_Grid = {}
GUIEditor_TAB[1] = guiCreateWindow(344,94,562,518,"Wer ist online?",true)
guiWindowSetMovable(GUIEditor_TAB[1],false)
guiWindowSetSizable(GUIEditor_TAB[1],false)
GUIEditor_Grid[1] = guiCreateGridList(9,37,542,456,false,GUIEditor_TAB[1])
guiGridListSetSelectionMode(GUIEditor_Grid[1],2)
guiGridListAddColumn(GUIEditor_Grid[1],"Name",0.2)
guiGridListAddColumn(GUIEditor_Grid[1],"Status",0.2)
guiGridListAddColumn(GUIEditor_Grid[1],"Fraktion",0.2)
guiGridListAddColumn(GUIEditor_Grid[1],"Spielstunden",0.2)
guiGridListAddColumn(GUIEditor_Grid[1],"Ping",0.2)
GUIEditor_Label[1] = guiCreateLabel(7,18,542,17,"_______________________________________________________________________________________________________",false,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[1],0,200,100)
guiSetFont(GUIEditor_Label[1],"default-bold-small")
GUIEditor_Label[2] = guiCreateLabel(0,491,557,19,"____________________________________Tab-Menü _________________________________________________________",false,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[2],0,200,100)
guiSetFont(GUIEditor_Label[2],"default-bold-small")
function toggleTABs(key, state)
if state == "down" then
guiSetVisible (GUIEditor_TAB[1],true)
RefreshTab()
else
guiSetVisible (GUIEditor_TAB[1],false)
end
end
bindKey("tab", "both", toggleTABs)
Alles anzeigen
Mfg