Jump to content

Gui Gridlist problem


Pe/\/duluM

Recommended Posts

Posted

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 ^^

Posted

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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...