• Force Client to Download Custom Files [Quick Help]
    1 replies, posted
Hello all, since the past 2 days I've been searching everywhere for an answer but with no chances. So I figured out let's directly ask it; I want my players to download some custom files (weapons, models etc) but for some reason, it won't work. In my garrysmod/lua/autorun/server/ there's a .lua that I created called forcedownloads.lua This is an example of what figures in the lua file: [code]resource.AddFile("models/horsie/horsiemask.mdl") resource.AddFile("models/ninja/vaas.mdl") resource.AddFile("models/tiggomods/weapons/ACIII/w_Tomahawk.mdl") resource.AddFile("models/tiggomods/weapons/ACIII/v_Tomahawk.mdl") resource.AddFile("models/sonic/hevsonic.mdl")[/code] This is an image of all of the file's content: [URL="http://gyazo.com/ac1f7512c56586c0df7fddfd79412e32.png"]Gyazo Image[/URL] Can anyone help me and tell me what's wrong? Thanks in advance! (Sorry for my english, I'm french)
As an alternative, why don't you pack all the models into a gma file using this tool; [url]http://facepunch.com/showthread.php?t=1242185[/url] Then create a workshop addon using this [url]http://facepunch.com/showthread.php?t=1244179[/url] (remember to post credits to the authors in the description) Finally use this on your server; [url]http://wiki.garrysmod.com/page/resource/AddWorkshop[/url]
Sorry, you need to Log In to post a reply to this thread.