pepsi18 Posted August 27, 2017 Posted August 27, 2017 Is it better to use fetch Remote to draw dxImage to skip the download of heavy images? or it is better to save them to the server normal ?
Moderators IIYAMA Posted August 27, 2017 Moderators Posted August 27, 2017 That depends when you need to draw the images. If they do have priority to be downloaded before the resource starts, then it doesn't matter. There is also a function in the mta config to download resources from another server, if you are worried about the server bandwidth. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
pepsi18 Posted August 27, 2017 Author Posted August 27, 2017 (edited) I want to avoid that the server is very heavy for the users and some images are have10 mb and I thought it would be better to draw them by URL Edited August 27, 2017 by pepsi18
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