Overkillz Posted April 20, 2016 Posted April 20, 2016 Hey dear guys, Im trying to create a new system to save some tables in a XML files, but I would like to know which functions should I use for them. Also, would be nice if I can see any example. Thanks for reading. Regards.
Anubhav Posted April 20, 2016 Posted April 20, 2016 Convert it to a string by looping. Then save it in the XML. use split to get it back as table. See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Moderators IIYAMA Posted April 21, 2016 Moderators Posted April 21, 2016 https://wiki.multitheftauto.com/wiki/ToJSON https://wiki.multitheftauto.com/wiki/FromJSON 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
Overkillz Posted April 21, 2016 Author Posted April 21, 2016 Thanks guys, but I got another idea for it. I couldnt undestand the ways that you explained me, its weard because they looks easier than Im using.
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