Emanuel Posted July 24, 2015 Share Posted July 24, 2015 Hello ! I have a question about encryption. Is there any way of securing our scripts automatically ? Something like adding a file to the resource, and the files will become encrypted. I know that it is related with this https://luac.multitheftauto.com/api/, but I don't know how to use it. If someone could help me, I would appreciate ! Emanuel Camacho Link to comment
GTX Posted July 24, 2015 Share Posted July 24, 2015 There's an example. local FROM="example.lua" local TO="compiled.lua" fetchRemote( "https://luac.multitheftauto.com/?compile=1&debug=0&obfuscate=0", function(data) fileSave(TO,data) end, fileLoad(FROM), true ) You can use this when resource starts. There's also another way to secure your script. Use cache attribute in meta. https://wiki.multitheftauto.com/wiki/Meta.xml 1 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