FlyingSpoon Posted April 6, 2015 Posted April 6, 2015 function animClicks() local row, col = guiGridListGetSelectedItem ( catMenu ) if (row == 0) and (col == 1) then guiGridListSetItemText ( animCat, 1, 1, "thrw_barl_thrw", false, false) else if (row == 0) and (col == 2) then guiGridListSetItemText ( animCat, 1, 2, "tsd", false, false) end end end addEventHandler("onClientGUIDoubleClick", root, animClicks) The text stays as, 'thrw_barl_thrw' and doesn't change!
Et-win Posted April 6, 2015 Posted April 6, 2015 guiGridListSetItemText ( animCat, 1, 2, "tsd", false, false) guiGridListSetItemText ( animCat, 1, 1, "tsd", false, false)
TAPL Posted April 6, 2015 Posted April 6, 2015 I don't understand what you're trying to achieve with this code, you didn't even attach it to gui element.
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