Captain Cody Posted March 28, 2016 Posted March 28, 2016 I'm using downloadFile to set up back round download for a map resource I've converted. But I need to figure out some way to check if everything from that resource is downloaded or not. Any function and or way?
Walid Posted March 28, 2016 Posted March 28, 2016 fileExists() onClientFileDownloadComplete() Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
Captain Cody Posted March 29, 2016 Author Posted March 29, 2016 Well I have over 2000 files that need to be downloaded. So using those gets a bit complicated.
Anubhav Posted March 29, 2016 Posted March 29, 2016 Walid @ totally wrong. The event only works if you use downloadFile. fileExists? seriously? Use isTransferBoxActive (client sided). I mean it, it will tell you if the downloading thing is active or not. See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Walid Posted March 29, 2016 Posted March 29, 2016 Lol hhhh :fp: , as i can see he said i'm using downloadFile so he can use onClientFileDownloadComplete() event to check if the file has been saccessfully downloaded or not. Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
Captain Cody Posted March 29, 2016 Author Posted March 29, 2016 I am using download file indeed... The resource only starts if it's fully downloaded.
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