Ok so I added custom models to a pointshop addon for my TTT server and the models show up for me perfectly except the reason for that is I subscribed the the models from the workshop. For the other players they can buy the models but they show as errors. Now I think this is because of the model path I used. As an example I used the lua/autorun/agent47 file from the addon with all the models in which I extracted with gmad extracter and used this model for the model "models/player/agent_47.mdl". I have no idea what to do now. If there is a different model I am supposed to use then please help me.
You need to make a /lua/autorun/server/whatever.lua file, and inside write:
[lua]
resource.AddWorkshop("whatever the workshop id of the addon is")
[/lua]
The reason is, this auto downloads the workshop addon to any clients joining your server.
The problem seems to be solved and I didn't do anything yet. I already did what you did but I will mark this as solved unless the problem comes back, thanks for using your time helping me.
Ok so it turns out the problem is not solved and the reason I thought it was fixed was because of addon was installed on my gmod client. So does anyone have any ideas? I have all the addons in my collection downloading and I know for sure that I used the right player model code. Is this because I did not add the player models to my addons? If this is the case then tell me where I can download the addon because extracting it with gmad extracter does not help when I put the extracted addon in my addon folder. Once again thanks for any help and I hope someone can figure it out.
Sorry, you need to Log In to post a reply to this thread.