Jump to content

gui Combo Box


.:HyPeX:.

Recommended Posts

hey guys, i dont see any item..

  
DataSelect = guiCreateComboBox(x*0.5, y*0.1, x*0.2, y*0.05, "Data",false) 
guiSetVisible(DataSelect, false) 
for i=1, #Dashboard.rankings.labels do 
local id = guiComboBoxAddItem(DataSelect, tostring(Dashboard.rankings.labels[i])) 
guiComboBoxSetItemText(DataSelect, id, tostring(id..": "..Dashboard.rankings.labels[i])) 
guiComboBoxSetSelected(DataSelect, id) 
outputChatBox("added "..Dashboard.rankings.labels[i]) 
outputChatBox(id) 
end 

 

output:

added Kills 
0 
added Deaths 
1 
added Headshots 
2 
added PlayTime 
3 
added EXP 
4 
added Level 
5 
added Rank 
6 

More accurately, this is what it happens:

uOBatVJ.png

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...