Jump to content

Downloads


ThePCGuy

Recommended Posts

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
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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...