stefutz101 Posted May 29, 2016 Posted May 29, 2016 How to reset that order ? What's the function name ? My script is affected after i change the list order , so i want to reset order back. Thanks in advance!
Moderators IIYAMA Posted May 29, 2016 Moderators Posted May 29, 2016 I don't know an mta function for that. But you can: Read the gridlist and save it in a table. Clear the gridlist. Re-insert the items. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
stefutz101 Posted May 29, 2016 Author Posted May 29, 2016 guiGridListSetSortingEnabled i found that function . This function block sorting DONE . I solved the problem.
Moderators IIYAMA Posted May 29, 2016 Moderators Posted May 29, 2016 Yea, that also works when you don't want to sort. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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