I own a DarkRP server, and when I tried to set player models for new classes, they're all errors?
Here's my jobs.lua:
[url]http://pastebin.com/i39sHuXM[/url]
Even the Mexican Cartel Members are errors, and their model is just male17.mdl !
Help?!?
[editline]28th February 2016[/editline]
bump
Did you subscribe to all the models on the workshop?
Is all of th models in the right path? And also what Rizerino said, are you subscribed or have the models?
Make sure that you have a file that forces the clients to download the workshop addons.
Go to lua/autorun/server and make a file called workshopdl.lua or whatever you want to call it.
Then, inside the file, put the following code:
[CODE]resource.AddWorkshop( "workshopidgoeshere" )[/CODE]
To find the workshop ID, go to the workshop addon of your choice and look at the URL. Preferably, you should access the workshop using a web browser like Google Chrome.
If you had a workshop link like this: [QUOTE][url]http://steamcommunity.com/sharedfiles/filedetails/?id=109586003[/url][/QUOTE]
You would take the '109586003' and in your workshopdl.lua put this:
[CODE]resource.AddWorkshop( "109586003" )[/CODE]
Note: You need to do this for every workshop addon that you have.
For more information regarding this, visit this website. Hopefully it will explain it more thoroughly and accurately.
[url]https://wiki.garrysmod.com/page/resource/AddWorkshop[/url]
Sorry, you need to Log In to post a reply to this thread.