Hello. I set up a bunch of files from workshop to be downloaded when players join my server, so I made a collection, authkey and all that, everything is mounted correctly, but the issue is that even though during loading it says "extracting from workshop", it did not actually download and my friends don't see the content. They also didn't download anything. Could it be because I set up the authkey using my public IP which is dynamic and gets changed every time I restart my server?
There's also an error "Attempt to index global Resource" in the server console, I already googled it and saw this thread [url]http://facepunch.com/showthread.php?t=1285785[/url] but it didn't work unfortunately. I placed the workshop.lua file with all the Resource.AddWorkshop in garrysmod\lua\autorun\server
I would be very happy if someone could help me without being a smartass or telling me to "find out by myself". I've tried everything, that's why I'm making this thread. Thank you.
It should be [b]r[/b]esource.AddWorkshop.
Can you post your workshop.lua file here?
Also make sure to use the [CODE ] [ /CODE] brackets
Nvm, code_gs solved your problem
EDIT: Ninja'd and Ninja'd :P
Could you paste your resource file? Is the R in the error capital or is it lower case?
Oh god dammit.
Mind to paste the code inside workshop.lua, please? Keep in mind that it's [b]r[/b]esource.AddWorkshop(" workshop id ") and not [b]R[/b]esource.AddWorkshop
Ninjamania :v:
lol, so many ninjas ..............
So it's supposed to be lower case? I'll try that. Stay tuned.
[QUOTE=JasonMan34;45604127]lol, so many ninjas ..............[/QUOTE]
Use [ lua] [ /lua] not [ code] [ /code] (without the spaces)
[QUOTE=Lolm4te;45604137]Use [ lua] [ /lua] not [ code] [ /code] (without the spaces)[/QUOTE]
They LITERALLY both do the same thing; both use the same code formatted and highlighter.
[QUOTE=Lolm4te;45604137]Use [ lua] [ /lua] not [ code] [ /code] (without the spaces)[/QUOTE]
1) Useless post
2) It's the same
[CODE]if (SEREVR) then
function print return end[/CODE]
Code brackets ^
[lua]if (SERVER) then
function print return end[/lua]
Lua brackets ^
It works perfectly now! Praise the Sun!
Love you all.
// Closed
Sorry, you need to Log In to post a reply to this thread.