(I apologize, Moderators, I just realized that I asked this in the wrong forum.)
I am hosting a server on Garry's Mod so some of my friends can play and build things together and I have quite a few things on my server that they claim they see as error signs. At first, I thought it was simply because they couldn't read the things in my addons folder, but now it's actually things that are built into the game, like buttons or certain objects. I have all of my ports forwarded (I assume correctly since the server works), and before I turn the server active I type in "heartbeat" and "sv_lan 0" in to the console.
That you guys know of, is there anything you can tell I'm missing? I have friends on both Mac and PC and they're receiving the same problem. If you need me to run diagnostics or check anything, I'm fairly savvy on both OS's so I should be able to help you diagnose my problem.
Also, if there is a thread that already has this solved, I apologize. I'm new and can't use the search function, so just link me to that and I'll let you be.
What you are going to need to do is add the models to a resource file. This file will tell the other clients what to download on entering (This is automatic downloading) You will need to add this file to your Garrysmod/lua/autorun/server. This file can be named anything. You will need Notepad++ to do this.([url]http://notepad-plus-plus.org/[/url]) You will also need to set that as LUA Code. Now, After you have done that, you will need to make a new file. Every .mdl file will need to be added, and so will every .vmt. If a file has a .vtf, but no .vmt, you will have to add that as well. Also, Do not forget sound. The code you will need will look like this. resource.AddFile ("Directory/directory/file.vmt"). Here is a page that will help with Resource.AddFile [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5809.html"]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5809.html[/URL]. After you have added all of that, people that get on your server will be able to download files and see them. Happy playing.
Thanks a bunch, I'll try it out!
Did this work for you?
Sorry, you need to Log In to post a reply to this thread.