Pe/\/duluM Posted November 30, 2012 Posted November 30, 2012 LINE 93: local rowXx = guiGridListAddRow (Panel_TabPanel_Mapshop_Maplist); LINE 94: guiGridListSetItemText (Panel_TabPanel_Mapshop_Maplist,rowXx,gColumn,map.name,false,false); LINE 95: guiGridListSetItemData (Panel_TabPanel_Mapshop_Maplist,rowXx,gColumn,map.resname); Always telling me this: WARNING: script\userpanel_c.lua:94: Bad argument @ 'guiGridListSetItemText' [Expected number at argument 2, got boolean] WARNING: script\userpanel_c.lua:95: Bad argument @ 'guiGridListSetItemData' [Expected number at argument 2, got boolean] //EDIT: Good Sir's, you need more code? Tell me ^^
myonlake Posted November 30, 2012 Posted November 30, 2012 That's very interesting. Are you sure there is a gridlist, if not, then that's the reason for it doing those errors. It simply does return an integer and should return true after those. If I helped you, please click the like button on the right Thanks!
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