.:HyPeX:. Posted April 29, 2014 Posted April 29, 2014 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: My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
Castillo Posted April 29, 2014 Posted April 29, 2014 That's because the height it's too small. Combo box doesn't auto resize for each item, you must do it yourself. Try this useful function: https://wiki.multitheftauto.com/wiki/Gu ... justHeight San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
.:HyPeX:. Posted April 29, 2014 Author Posted April 29, 2014 Oh ok, didnt saw that, thanks! My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
Castillo Posted April 29, 2014 Posted April 29, 2014 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now