• Why can people not get models from my server download?
    4 replies, posted
When people connect to my server they download the required things such as the map we are playing etc. I have all this from a workshop collection that I set up with my server that includes the ID of it and the API key. I know this all works because if I include another addon to this collection then restart the server it downloads and mounts it. However, I have installed things like M9K weapons/cars. But people are still getting these objects as errors. Even when the subscribe to them on the workshop they still sometimes get errors. Is this because my server is not forcing these downloads? Is there any way I can do this.
You have an AddWorkshop Lua file, right?
You're going to want to see if you have a "workshop.lua" under server/garrysmod/lua/autorun/server. If you do, please post if you have anything in there.
[QUOTE=RVTLight;50369100]You're going to want to see if you have a "workshop.lua" under server/garrysmod/lua/autorun/server. If you do, please post if you have anything in there.[/QUOTE] You realize the file doesn't have to be named workshop.lua
i had the same issue, to add a addon to your dedicated server you muse first download it yourself(ill tell you why in a sec) and then add it to your collection, then in your server folder e.g dedicated_server//garrysmod/lua/autorun/server in there you can make a file[I] with any name[/I].lua it could be workshop.lua or for me i put DLC.lua inside you add resource.AddWorkshop("ID NUMBER GOES HERE") // optional name save. heres the important part to actually activate the dlc that everyone just added you [B]MUST MANUALLY ADD THE LUA FOLDER FROM YOUR ADDON TO YOUR SERVER[/B] after you downloaded the addon for yourself in single player you have to use a app called GMAD to browse to the addon you want to add. after you open the addon's gma file extract all somewhere and take that lua folder from the addon you just extracted and copy it to your dedicated server lua folder then the addon should work
Sorry, you need to Log In to post a reply to this thread.