XeniusORIGINAL Posted January 18, 2015 Share 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 Link to comment
AfuSensi Posted January 19, 2015 Share Posted January 19, 2015 Great idea, but i wouldn't use compiled scripts with these sort of things. Link to comment
MTA Team botder Posted January 19, 2015 MTA Team Share 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. Link to comment
Wisam Posted January 19, 2015 Share 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? 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