• Having Clients Download Addons
    3 replies, posted
Is there a way to make clients automatically download the addons on my server that they don't have (just like maps/materials/etc)? If there isn't maybe I could try to make some sort of script that does this... It really bugs me when people don't have certain materials/models because then they see the ERROR model or the annoying pink'n'black checkered texture. Thanks in advance.
good...god....have you never joined a gamemode server? of course there is a way to do this =/ please read the wiki on garrysmod.com in server hosting, what you are interested in is resources.lua and a few quick tips to start you off, use an sv_downloadurl make a maps, models, and materials folder in it, when the addons have those folders in there, merge them in and add the files in resources.lua (someone has a quick script to add entire folders, look it up. NEVER upload lua files, you need to copy the servers cache folder to the sv_downloadurl every time you change the set of lua files running on it. that will take care of all lua. Have fun figuring out the rest! edit- also wrong section, did you even try??
i searched everywhere, i put addons on the server and i couldn't find a way to do it, so thanks. also, i have read everything about server hosting on the wiki. i am already using an sv_downloadurl, too. you underestimate me. this is all i have to say to you: don't you EVER tell me how to live my life!
I underestimate you...yet you still admit that you dont get this? then how'd you miss this on the wiki - [url]http://wiki.garrysmod.com/?title=Resource.AddFile[/url] wow, that took my at least a few seconds to load the page and type resource in search.....hard work huh? this is FP, not life
Sorry, you need to Log In to post a reply to this thread.