ThePCGuy Posted July 24, 2013 Share Posted July 24, 2013 I added this ''download=''false'' to the meta but it still downloads.. any suggestions how i can fix this? Link to comment
Chaz-CR Posted July 24, 2013 Share Posted July 24, 2013 why dont you delete the file from the meta? it wont download the .lua or .xml you wrote there. Link to comment
ThePCGuy Posted July 24, 2013 Author Share Posted July 24, 2013 Cause the file i listed in the meta is going to be downloaded in the background. Link to comment
TAPL Posted July 24, 2013 Share Posted July 24, 2013 Post the meta so we can see how you did it. Or you maybe want to read the wiki? https://wiki.multitheftauto.com/wiki/Meta.xml Link to comment
TAPL Posted July 24, 2013 Share Posted July 24, 2013 What version you have? Because it's said from "1.4". download: Whether or not to be sent to the client automatically (optional). Default is "true". Using "false" will mean they are not sent on resource start but could later be used by downloadFile (from version 1.4) Link to comment
ThePCGuy Posted July 24, 2013 Author Share Posted July 24, 2013 What version you have?Because it's said from "1.4". download: Whether or not to be sent to the client automatically (optional). Default is "true". Using "false" will mean they are not sent on resource start but could later be used by downloadFile (from version 1.4) Oh, lol! I didnt knew that. Well, if i use a background downloader must i list it in the meta or not? Link to comment
TAPL Posted July 24, 2013 Share Posted July 24, 2013 https://wiki.multitheftauto.com/wiki/DownloadFile This function downloads a file from the HTTP server. This can only be used on files on the HTTP server associated with the MTA server and will only download files from within the folder of the resource that is calling it. The file should also be included in meta.xml with the download attribute set to "false", see meta.xml for more details. If the file has been previously downloaded and the CRC matches, the file will not be downloaded again but onClientFileDownloadComplete will still run. P.S: I assume that the function works with last nightly 1.3.3 version so be sure to try it. Link to comment
ThePCGuy Posted July 24, 2013 Author Share Posted July 24, 2013 Well i have 1.3.3 and it still downloads if i add false it it. Could the script make it to download? 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