Jump to content

gui Combo Box


.:HyPeX:.

Recommended Posts

Posted

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

My ingame nick is ~HyPeX~

BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager

gKhdyRJ.png

Posted

You're welcome.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...