-.Paradox.- Posted April 1, 2014 Posted April 1, 2014 (edited) Hello guys can somebody see what's wrong here? I'm trying to fill the gridlist with teams, no errors Solved Edited April 1, 2014 by Guest If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Booo Posted April 1, 2014 Posted April 1, 2014 Hello guys can somebody see what's wrong here? I'm trying to fill the gridlist with teams, no errors in debug GUIEditor.gridlist[2] = guiCreateGridList(12, 27, 142, 174, false, GUIEditor.window[2]) local columns = guiGridListAddColumn(GUIEditor.gridlist[2], "Teams", 0.9) if ( columns ) then --If the column has been created, fill it with teams for _,t in ipairs(getElementsByType("team"))do local row = guiGridListAddRow(GUIEditor.gridlist[2]) local teamName = getTeamName(t) guiGridListSetItemText(GUIEditor.gridlist[2],row,column,teamName,false,false) end end try this ; GUIEditor.gridlist[2] = guiCreateGridList(12, 27, 142, 174, false, GUIEditor.window[2]) local columns = guiGridListAddColumn(GUIEditor.gridlist[2], "Teams", 0.9) for _,t in ipairs(getElementsByType("team"))do guiGridListSetItemText(GUIEditor.gridlist[2],guiGridListAddRow(GUIEditor.gridlist[2]),1,getTeamName(t),false,false) end *if not work copy all your code تذكر عند تصفحك للأنترنت قوله تعالى: (( وهو معكم أين ما كنتم والله بما تعملون بصير )) ا
-.Paradox.- Posted April 1, 2014 Author Posted April 1, 2014 (edited) Not working, btw here is a part of the code Solved Edited April 1, 2014 by Guest If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
WhoAmI Posted April 1, 2014 Posted April 1, 2014 guiGridListSetItemText(GUIEditor.gridlist[2],row,columns,teamName,false,false) Change 11th lane to it.
-.Paradox.- Posted April 1, 2014 Author Posted April 1, 2014 Thanks i forgot the "s" in column If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
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