• Server addon download
    1 replies, posted
Hi, I've started a gmod server myself a few days ago via SteamCMD, and I want to use it as a DarkRP server for me and some other friends. But the stupid thing is, is if I add addons to the Addons folder on my server, or let the server download workshop addons from a collection on steam using +host_workshop_collection, it loads in and it is downloading for them when joining, they still have errors on any addon. They don't see anything of the model. But if I join a different DarkRP server, and downloads stuff (with custom addons via the addons folder), it all load's for me without errors. Can someone please explain why this is happening, and how I could get it to work like the other DarkRP servers? Really appreciate it!
For Workshop Addons open the file "workshop.lua" in "[Your Server Directory]\garrysmod\lua\autorun\server\" and add every Addon with its WorkshopID like so: -- https://steamcommunity.com/sharedfiles/filedetails/?id=WorkshopID resource.AddWorkshop("WorkshopID") Example #2 (Comments to identify the ID): -- The Sit anywhere script! - 108176967 resource.AddWorkshop("108176967") -- Darth Kermit Playermodel - 1408171201 resource.AddWorkshop("1408171201") FYI: resource.AddWorkshop() tells the connecting Client what Workshop-Addons to download / mount (Gmod Wiki Link)
Sorry, you need to Log In to post a reply to this thread.