I’ve been trying to setup FastDL for my DarkRP server but my custom player models will not download.
I have tried setting sv_allowdownload/sv_allowupload to both 0 and 1(neither works); the URL is correct because it downloads maps and cache, but it redownloads other models every time I join.
I have setup the file structure correctly in the FastDL url: models/something/something.mdl
materials/something/something.vmt
etc.
I’ve tried adding resource.AddFile in a lua file in lua/autorun/server and as well in init.lua in the DarkRP file.
An example of how I’ve been been setting up resource.AddFile:
resource.AddFile(“models/player/neo_heavy.mdl”)
resource.AddSingleFile(“models/player/Neo_Heavy.phy”)
resource.AddFile(“materials/models/characters/neoheavy/mhm_torso_0_normal.vtf”)
resource.AddFile(“materials/models/characters/neoheavy/mhm_torso_0.vtf”)
resource.AddFile(“materials/models/characters/neoheavy/mhm_torso_0.vmt”)
I think that I have no idea on what I’m doing.
Thanks in advance
Edit:
I’ve figured this out; please lock this thread.