Rm-Dj Posted March 5, 2013 Share Posted March 5, 2013 (edited) guiGridListAddColumn(GUIEditor_Grid[1],"Skin ID",0.4) guiGridListAddColumn(GUIEditor_Grid[1],"$",0.3) SkinTable = { { "0 cj 15666" }, { "19 cj 15666" }, { "23 cj 15666" }, { "46 cj 15666" }, { "82 cj 15666" }, { "134 cj 15666" }, { "217 cj 15666" }, } for i, v in ipairs ( SkinTable ) do local row = guiGridListAddRow ( GUIEditor_Grid[1] ) guiGridListSetItemText ( GUIEditor_Grid[1], row, 1, v[1], false, true ) end Edited March 5, 2013 by Guest Link to comment
iPrestege Posted March 5, 2013 Share Posted March 5, 2013 SkinTable = { { "0 cj" , "15666" }, { "19 cj" , "15666" }, { "23 cj" , "15666" }, { "46 cj" , "15666" }, { "82 cj" , "15666" }, { "134 cj" , "15666" }, { "217 cj" , "15666" }, } for i, v in ipairs ( SkinTable ) do local row = guiGridListAddRow ( GUIEditor_Grid[1] ) guiGridListSetItemText ( GUIEditor_Grid[1], row, 1, v[1], false, true ) guiGridListSetItemText ( GUIEditor_Grid[1], row, 2, v[2], false, true ) end Link to comment
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