I've watched a tutorial, as well as use an application that sets it up for me, but when I go to the game and start the level, the first thing that pops up is "you're not allowed to do that at the moment" , and when I go to the player models section of the pointshop, it displays the model as an error. any help?
Do you have the model downloaded?
yes.
One thing that I forgot to mention in the OP is that i'm doing this on my local gmod for when the inviting friends update comes out. basically I'm doing the same thing as I would a server, but in my local gmod.
I've tested it with another person, and they can join and see the pointshop, just not the model, same as me.
Can you post the Pointshop file for the model?
Yeah, but I'm on a tablet and about to go to bed. So I'll have to do so in the morning.
1) Have you added the player model in your server or in your collection (If you are using the collection method for add addons)
2)Have you added the player model in your fastdl?
3)Have you correct set the model into the yourplayermodel.lua pointshop file?
[QUOTE=Predda;50623058]1) Have you added the player model in your server or in your collection (If you are using the collection method for add addons)
2)Have you added the player model in your fastdl?
3)Have you correct set the model into the yourplayermodel.lua pointshop file?[/QUOTE]
1. like I said, I'm doing this in my LOCAL Gmod folder. NOT A SERVER. I'm doing this locally for when the july invite update comes out. (makes it easier to invite friends to your singleplayer world.)
2. I don't think I would need fastdl for a local world.
3. I'm pretty sure the .lua is set up correctly in my pointshop file. (it shows up in-game, but as an error.)
these are the model files, and pointshop file that the model is using. (this is for the left shark playermodel)
Steam/steamapps/common/Garrysmod/garrysmod/addons/ [url]http://www.mediafire.com/download/jvvtdrnj509ea2h/Left_Shark.rar[/url]
Steam/steamapps/common/Garrysmod/garrysmod/addons/pointshop-master/lua/pointshop/items/playermodels/ [url]http://www.mediafire.com/download/l8sifw8n8rl0on7/Shark.lua[/url]
anyone able to help?
Code looks fine. You do need this on FastDL/WorkshopDL for other people to see it, otherwise, they will have to subscribe to the addon themselves.
how would I even set up workshopdl/fastdl on my local gmod? the tutorial i'm watching uses srcds.exe
i'm not using that.
EDIT: is this even possible.
SRCDS doesn't matter; it's just code.
[code]resource.AddWorkshop( id )[/code]
Run serverside.
what do you mean by run serverside?
I'm doing this via starting the game, starting new game, selecting the map, selecting whether it's singleplayer or multiplayer, and then starting the game. the pointshop works, but adding things to pointshop doesn't work.
basically where in the game's files would I put the code.
[QUOTE=Ro5Craft0;50624978]what do you mean by run serverside?
I'm doing this via starting the game, starting new game, selecting the map, selecting whether it's singleplayer or multiplayer, and then starting the game. the pointshop works, but adding things to pointshop doesn't work.
basically where in the game's files would I put the code.[/QUOTE]
Create a file in lua/autorun/server, and put the code in there. You can name it anything, but it has to have the .lua extension. You can get the ID from the workshop's page link
i'll test that later tonight when i get the chance.
[editline]30th June 2016[/editline]
just tested it. still doesn't work, as the model still shows up as an error.
is it even possible to do something like this anyways?
and by [I][B]this[/B][/I] i mean starting a game inside of gmod instead of starting a server externally.
[QUOTE=Ro5Craft0;50625409]i'll test that later tonight when i get the chance.
[editline]30th June 2016[/editline]
just tested it. still doesn't work, as the model still shows up as an error.
is it even possible to do something like this anyways?
and by [I][B]this[/B][/I] i mean starting a game inside of gmod instead of starting a server externally.[/QUOTE]
Are you actually putting the workshop id into the code?
(if you copy the url of the workshop addon, there is numbers at the end, copy that and put it in the parenthesis in the code (with " " around it). Then if you have more, do the same and use that workshop id)
just a shot in the dark we'll figure it out eventually. :s
basically (for what i'm doing)
just make a lua file in Steam/steamapps/common/Garrysmod/garrysmod/lua/autorun/server/(name_of_file)
[url]https://www.dropbox.com/s/j0gjr7wyte4ku0u/dr_playermodels.lua?dl=0[/url]
and then put that in the .lua file.
any afternoon help?
I don't know what could be wrong; the only thing I could ask to check if that Pointshop model path is EXACTLY correct. Otherwise, I'm stumped.
here's a folder of my Garrysmod folder simplified down to just the things i'm having problems with.
[url]https://www.dropbox.com/sh/s4mh91ertjgq33w/AADwQhWVT1FUNvw6NkTZjt68a?dl=0[/url]
ok, so, apparently adding trails works, but not playermodels... i'm starting to get mad now.
Sorry, you need to Log In to post a reply to this thread.