• help me please
    4 replies, posted
hi i saw alot of servers that auto downloads materials and mods addons .... when you join them could anyone tell me how to do this cause my friend needs to install every addon i add to the server thanks -STcreature [highlight](User was banned for this post ("UTT / Help & Support" - Orkel))[/highlight]
You posted on the wrong section. Anyways, Go to garrysmod/lua/autorun/server and make a file called resource.lua In these for every material, sound, model, ect put something like this [lua]resource.AddFile( "materials/dickpic/stalkersdick.png" ) resource.AddFile( "models/stalkersdick/dick.mdl")[/lua] Do that for everything you want and you should be golden.
[QUOTE=YourStalker;44831897]You posted on the wrong section. Anyways, Go to garrysmod/lua/autorun/server and make a file called resource.lua In these for every material, sound, model, ect put something like this There's a tool around online that'll help automate this, it's called [url=http://f0x.me/RAG/downloads.html]Fox's Resource Generator.[/url] [lua]resource.AddFile( "materials/dickpic/stalkersdick.png" ) resource.AddFile( "models/stalkersdick/dick.mdl")[/lua] Do that for everything you want and you should be golden.[/QUOTE] There's a tool around online that'll help make this less of a daunting task, it's called [url=http://f0x.me/RAG/downloads.html]Fox's Resource Generator.[/url]
The issue with Fox's Resource Generator is that it adds all the model complements with resource.AddFile, and although it still works, it's inefficient. It's better to use the Resource Generator then go through and cut down on the junk.
i will try this
Sorry, you need to Log In to post a reply to this thread.