XeniusORIGINAL Posted January 18, 2015 Posted January 18, 2015 Load files without download. How it works? First change "httpserver" in meta.xml. Then, Example file: Meta.xml: In script: playSound(exports.xmanager:getFileFromServer("resourcename/song.mp3"), false) Community: https://community.multitheftauto.com/index.php?p= ... s&id=10803
AfuSensi Posted January 19, 2015 Posted January 19, 2015 Great idea, but i wouldn't use compiled scripts with these sort of things.
MTA Team botder Posted January 19, 2015 MTA Team Posted January 19, 2015 The resource only sends the meta.xml setting to each started client and then the clients use that URL to access the extern http server.
Wisam Posted January 19, 2015 Posted January 19, 2015 Great idea, but i wouldn't use compiled scripts with these sort of things. I agree with you, Especially with these scripts. Im putting lots of mods in my server, So i have to put my ftp IP address in meta.xml and then the clients dont need to download the Huge files when joining for the first time?
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