manve1 Posted January 26, 2013 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 ) Looking for tutorials or information? check out: www.simpleask.co.uk
Castillo Posted January 26, 2013 Posted January 26, 2013 What do you mean that you get "nil value"? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
manve1 Posted January 26, 2013 Author Posted January 26, 2013 i get it on event handler, in debugscript 3 Looking for tutorials or information? check out: www.simpleask.co.uk
Castillo Posted January 26, 2013 Posted January 26, 2013 The grid list got created? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
manve1 Posted January 26, 2013 Author 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 Looking for tutorials or information? check out: www.simpleask.co.uk
Castillo Posted January 26, 2013 Posted January 26, 2013 Is that your whole script? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
manve1 Posted January 26, 2013 Author 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 Looking for tutorials or information? check out: www.simpleask.co.uk
Castillo Posted January 26, 2013 Posted January 26, 2013 Ok, that was what I was going to suggest. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
manve1 Posted January 26, 2013 Author Posted January 26, 2013 Solved over PM. Looking for tutorials or information? check out: www.simpleask.co.uk
Castillo Posted January 26, 2013 Posted January 26, 2013 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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