Captain Cody Posted July 30, 2014 Posted July 30, 2014 How can I make the base files on my server download first aka jobs gui just about everything but the skins Then have the skins download?
Mellnik Posted July 30, 2014 Posted July 30, 2014 Use this function introduced in v1.4. downloadFile Set download="false" for the skin files and as soon as the initial download is done use that function to download all skin files.
Captain Cody Posted July 30, 2014 Author Posted July 30, 2014 Im not sure how I'd make it download when the other downloads finnish
Mellnik Posted July 31, 2014 Posted July 31, 2014 Something like this function checkTransfer() if isTransferBoxActive() == false then -- put your downloadFile stuff here else setTimer(checkTransfer, 500, 1) end end addEventHandler("onClientResourceStart", getRootElement(), checkTransfer)
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