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! GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
Et-win Posted April 6, 2015 Posted April 6, 2015 guiGridListSetItemText ( animCat, 1, 2, "tsd", false, false) guiGridListSetItemText ( animCat, 1, 1, "tsd", false, false) ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
FlyingSpoon Posted April 6, 2015 Author Posted April 6, 2015 I dont understand what you did GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
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.
Et-win Posted April 6, 2015 Posted April 6, 2015 Just set column ID from 2 to 1 x: ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
FlyingSpoon Posted April 6, 2015 Author Posted April 6, 2015 Do you want my full code? GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
FlyingSpoon Posted April 6, 2015 Author Posted April 6, 2015 What do I do GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
Et-win Posted April 7, 2015 Posted April 7, 2015 Do you want my full code? And explain what you want ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
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