stalinalexander Posted December 26, 2017 Share Posted December 26, 2017 Hi everyone, I need some help. I made a script wich creates screenshots and save them in a custom folder and the name of image is saved in database, but not in .xml file, because the script will be open for all players, and if each image made by player has a line in .xml file then will be a lot of lines...... i want that the server can open images even the images aren't in .xml file. How can I do that ? Link to comment
Slim Posted December 26, 2017 Share Posted December 26, 2017 (edited) Try converting/unconverting the images to BASE64, and choose your save preference. I don't script LUA much but I used to pull this off in other languages. Someone can probably come up with a better solution.https://wiki.multitheftauto.com/wiki/Base64Encodehttps://wiki.multitheftauto.com/wiki/Base64Decode Edited December 26, 2017 by Justin|X5| Added links to wiki Link to comment
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