Jump to content

[Question] Downloading files.


Ben_Sherman

Recommended Posts

Posted

Hi there,

I've noticed that other servers you can play while downloading files, how is that possible. I mean I know that the downloadFile function is not released yet until v1.4 which I'm waiting for but there must be some other way since there are other servers that you cna play on while downloading the files.

Any ideas?

Posted

Yeah now this is a little wrong, I'm asking about downloading file during gameplay and not create or open a text file or some kinda text file. Example I have mods on the server and players get to download everything before they can play. I noticed that there are some servers out there that you can play on during the download progress. Kinda like you starting a resource when your in game and then you download the files while you play.

Thanks though.

Posted

They use fileCreate to create the code. Believe it already :P

They might or might not use fetchRemote, really depends on the way how they revision their code.

There is no way you can create a file any other way except downloadFile.

Posted

There are currently 3 ways to do it

triggerClientEvent/triggerLatentClientEvent -- Read file server sided and send the content 
fetchRemote 
downloadFile -- Only mta 1.4 though 

Posted

Yeah the problem is not the files, I'm working on a mod handler to reduce download size, you can select what mods you want to have and no, after that it downloads the file for you.

But thank you all for all help!

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