Raised This Month: $51 Target: $400
 12% 

AddFileToDownloadsTable in OnMapStart plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Toughest Gun in The West
New Member
Join Date: Apr 2022
Old 04-14-2022 , 02:29   AddFileToDownloadsTable in OnMapStart plugin
Reply With Quote #1

I was recommended to seek out help here in making a plugin that will allow custom asset dl for map textures ONLY when the server runs that map.

I was given a few suggestions, but the issue we run into is that the server will download them ANY TIME someone joins the server for the first time. And there are 1500 files. So that's not exactly optimal...

Anybody able to help out?

"your plugins need to call AddFileToDownloadsTable in OnMapStart for any custom assets they use, or you can have an external plugin do it "
Toughest Gun in The West is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 04-14-2022 , 05:20   Re: AddFileToDownloadsTable in OnMapStart plugin
Reply With Quote #2

The downloader plugin already has per map support. https://forums.alliedmods.net/showthread.php?p=602270

Was this plugin causing you issues?
Sreaper is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode