I need your guys’ help. I’m trying to help my friend set up a TTT server, and one problem we’ve come accross is that when we set up the workshop maps to download for clients with
resource.AddWorkshop( "workshop id" )
, all of the maps are downloaded when people first join the server.
I haven’t run a Gmod server in years, but I remember finding a script that basically said “if the map equals this, download this workshop addon (the map on the workshop)”. Each line of code was exactly the same, except each line was a different map until all the workshop maps were listed. This script made it so that if we weren’t on that map, it would skip to the next one, this would continue until it got to the map we were on and downloaded that map.
This saved new players a lot of time joining the server, but I no longer have that script and have no scripting knowledge. I was wondering if anyone out there knows what I’m talking about and can either redirect me to the script or post an example script that would do just that. Thanks!