#Paper Posted February 4, 2011 Share Posted February 4, 2011 don't show any error, what's wrong? function ChangeSkin () local skins = {9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,7,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52} for i, skin in ipairs(skins) do row = guiGridListAddRow(GUIEditor_Grid[1]) guiGridListSetItemText(GUIEditor_Grid[1], row, skinclm, skin, false, false) end end Link to comment
DakiLLa Posted February 4, 2011 Share Posted February 4, 2011 Well, text: The text you want to put in (does NOT accept numbers, use tostring() for that) So guiGridListSetItemText(GUIEditor_Grid[1], row, skinclm, tostring(skin), false, false) Link to comment
#Paper Posted February 5, 2011 Author Share Posted February 5, 2011 Well, text: The text you want to put in (does NOT accept numbers, use tostring() for that) So guiGridListSetItemText(GUIEditor_Grid[1], row, skinclm, tostring(skin), false, false) very ty you saved my ass 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