nasserdfdd Posted August 30, 2015 Share Posted August 30, 2015 hi all so this is a line of my code i get this error test/test_c.lua:94:bad argument @guiGridListGetSelectedItem' [Expected gui-element at argument 1, gotnil] code local row, col = guiGridListGetSelectedItem(jobList) Link to comment
Noki Posted August 31, 2015 Share Posted August 31, 2015 That's basic debugging. If your argument is nil, then it is not defined. Look through your code to make sure jobList is defined as a grid list. 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