manve1 Posted January 26, 2013 Share Posted January 26, 2013 I get nil value when i click on a grid list, not sure why, but i did grid lists long time ago, so i forgot how to do them; local gridDimension = guiCreateGridList( 0.275, 0.2, 0.25, 0.325, true, window ) addEventHandler('onClientGUIClick', gridDimension, function( ) if ( guiGridListGetItemText ( gridDimension, 1, columnDimension ) == "Dimension: 1" ) then outputChatBox('clicked', 255, 255, 255 ) end end, false ) Link to comment
Castillo Posted January 26, 2013 Share Posted January 26, 2013 What do you mean that you get "nil value"? Link to comment
manve1 Posted January 26, 2013 Author Share Posted January 26, 2013 i get it on event handler, in debugscript 3 Link to comment
Castillo Posted January 26, 2013 Share Posted January 26, 2013 The grid list got created? Link to comment
manve1 Posted January 26, 2013 Author Share Posted January 26, 2013 I see the grid list ect ... everything is working, but somehow i get nil value on this only event, but the rest is working Link to comment
Castillo Posted January 26, 2013 Share Posted January 26, 2013 Is that your whole script? Link to comment
manve1 Posted January 26, 2013 Author Share Posted January 26, 2013 No it's not, and i don't want to post whole script on public, i only give full scripts via PM Link to comment
Castillo Posted January 26, 2013 Share Posted January 26, 2013 Ok, that was what I was going to suggest. 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