Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] Faster 03dl models download

 
  • 0 Vote(s) - 0 Average
Pawn Faster 03dl models download
fivezerofour
Offline

Burgershot Member
Posts: 3
Threads: 2
Joined: Jan 2021
Reputation: 0
#1
2021-01-09, 02:06 PM
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!
Pinch
Offline

Burgershot Member
Posts: 391
Threads: 19
Joined: Apr 2019
Reputation: 22
Location: Belgrade, Serbia
#2
2021-01-09, 07:48 PM (This post was last modified: 2021-01-09, 07:57 PM by Pinch.)
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
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
Josh
Offline

Administrator

Posts: 129
Threads: 1
Joined: Feb 2019
Reputation: 20
#3
2021-01-09, 08:39 PM
It is called RedirectDownload (https://open.mp/docs/scripting/functions/RedirectDownload) which allows you to download via a website rather than your server.
Pinch
Offline

Burgershot Member
Posts: 391
Threads: 19
Joined: Apr 2019
Reputation: 22
Location: Belgrade, Serbia
#4
2021-01-09, 08:43 PM
(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..
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
Josh
Offline

Administrator

Posts: 129
Threads: 1
Joined: Feb 2019
Reputation: 20
#5
2021-01-09, 08:49 PM
(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
fivezerofour
Offline

Burgershot Member
Posts: 3
Threads: 2
Joined: Jan 2021
Reputation: 0
#6
2021-01-10, 06:47 PM
Damn, how did I miss that... Very much appreciated guys!
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode