open.mp forum
[Pawn] Faster 03dl models download - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Faster 03dl models download (/showthread.php?tid=1508)



Faster 03dl models download - fivezerofour - 2021-01-09

Hey, so I remember there was a guide or a script in old sa-mp.com forums addressing the issue of very slow models download and some dude provided a way how to make those downloads to happen faster. Does anyone have a script or a guide, or whatever that was and could share? Big thanks in advance!


RE: Faster 03dl models download - Pinch - 2021-01-09

I believe that it's the artpath...i didn't use it (I basically didn't even try DL yet) but I think that you can set remote url there

https://open.mp/docs/server/server.cfg
Check the artpath


https://github.com/openmultiplayer/wiki/blob/master/docs/scripting/functions/RedirectDownload.md

https://github.com/openmultiplayer/wiki/blob/master/docs/scripting/callbacks/OnPlayerRequestDownload.md


RE: Faster 03dl models download - Josh - 2021-01-09

It is called RedirectDownload (https://open.mp/docs/scripting/functions/RedirectDownload) which allows you to download via a website rather than your server.


RE: Faster 03dl models download - Pinch - 2021-01-09

(2021-01-09, 08:39 PM)Josh Wrote: It is called RedirectDownload (https://open.mp/docs/scripting/functions/RedirectDownload) which allows you to download via a website rather than your server.

Yeah, exactly what I posted..


RE: Faster 03dl models download - Josh - 2021-01-09

(2021-01-09, 08:43 PM)Pinch Wrote:
(2021-01-09, 08:39 PM)Josh Wrote: It is called RedirectDownload (https://open.mp/docs/scripting/functions/RedirectDownload) which allows you to download via a website rather than your server.

Yeah, exactly what I posted..



Cool beans


RE: Faster 03dl models download - fivezerofour - 2021-01-10

Damn, how did I miss that... Very much appreciated guys!