βurak Posted April 10, 2021 Posted April 10, 2021 Hello, how can I turn off changing the column positions as in the picture
Discord Moderators Zango Posted April 15, 2021 Discord Moderators Posted April 15, 2021 It's a good question. I've looked through the CEGUI properties from here which you can change with guiSetProperty. But I haven't found any setting that turns off this behavior.
βurak Posted April 15, 2021 Author Posted April 15, 2021 (edited) It writes something about it but this detail doesn't work for mta The reason I wanted to turn off this detail is because the player can get around code making by manipulating columns and I've tried almost all the features on the list, but none of them worked. guiSetProperty(gridlist, "ColumnsMovable", "False") Edited April 15, 2021 by Burak5312
Discord Moderators Zango Posted April 16, 2021 Discord Moderators Posted April 16, 2021 Yeah ok, so there is a property for it, but I can't get it working either. There's a chance it was added in a later version (or maybe it never worked). MTA uses CEGUI 0.4.0, released 16 years ago. I searched through the changelog, but there was nothing about it though. 1
Scripting Moderators Popular Post Sarrum Posted April 16, 2021 Scripting Moderators Popular Post Posted April 16, 2021 . There is a workaround to do it: guiSetProperty ( gridlist, "ColumnsMovable", "True" ) guiSetProperty ( gridlist, "ColumnsMovable", "False" ) 4
βurak Posted April 16, 2021 Author Posted April 16, 2021 (edited) hi I've tried these, they don't affect anything, again the columns can change places again edit: thanks sarrum! I got it wrong now it worked solved Edited April 16, 2021 by Burak5312 1
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