toxicsmoke11 Posted October 19, 2014 Share Posted October 19, 2014 hello i want to ask if i wanted to download a file or just load a file, how could i get the progress of it's download in percent(%) ? Link to comment
ZL|LuCaS Posted October 19, 2014 Share Posted October 19, 2014 hello i want to ask if i wanted to download a file or just load a file, how could i get the progress of it's download in percent(%) ? you need math. fileGetSize math.floor Link to comment
zocken212 Posted October 20, 2014 Share Posted October 20, 2014 Maybe this thread can help you a bit viewtopic.php?f=91&t=76834 Link to comment
toxicsmoke11 Posted October 22, 2014 Author Share Posted October 22, 2014 if i'd make an "oldschool" downloader without downloadFile function, i would need to trigger events and therefore it would be easy. but what if i were to use downloadFile for a downloader or just make any type of a loader?how could i retrieve its data then?(e.g percent of it or if downloader also bytes/bytes downloaded?) Link to comment
MTA Team botder Posted October 22, 2014 MTA Team Share Posted October 22, 2014 Use getLatentEventStatus or show a progress how many files had been downloaded with downloadFile (x from y files) 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