• Custom Swep for TTT models not working
    6 replies, posted
Hello I'm here because I recently coded a custom weapon for my TTT server but I am the only one that can see the weapon. For everyone else, its a big error. what piece of code or what do I do to make people download the model? Greatly appreciated Valm
resource.AddFile("PATH TO FILE HERE)
And where do you put this line of code in? Valm
lua/autorun/server
Thank you very much!! You guys are life savers XD Valm
or you can put it on the weapon its self but lua/autorun/server is easier in a way.
Really you should have it inside the weapon file. Add to the top of the weapon script. [LUA] if SERVER then resource.AddFile("File/To/Path.ect") end [/LUA] Its easier to manage that way.
Sorry, you need to Log In to post a reply to this thread.