• Clients Don't Download Files When Joining My Server
    4 replies, posted
For some reason, when people join my dedicated server, they don't download anything other than a LUA Cache File. They are missing models once they get in and can't see most of the stuff that is being spawned. Is there a way to force the clients to download files that they don't have?
For models, sounds, materials etc, add this: [lua]resource.AddFile("path/to/yourFile.extension")[/lua]
Thanks. This goes in the server config?
Make a file called resources.lua in lua/autorun/server . Put the line in that file. If the file is in root/addons/addon/models/model.mdl, for instance, it would need to also be in root/models/model.mdl . This is only if you're using sv_downloadurl, that's hooked to your server files.
Thanks!
Sorry, you need to Log In to post a reply to this thread.