Server - Workshop items help

Hi, I have tried over and over to enable a particular workshop addon to auto download but the clients still don’t download it!

Here the code I’m using:

if SERVER then
   resource.AddWorkshop( "150404359" )

I’m placing that in garrysmod/lua/autorun/client/

Put the file in garrysmod/lua/autorun/server

Also i don’t think you need ‘if SERVER then’

Okay, thanks

Hey, late reply but it still doesn’t work!?

Inside of your “\garrysmod\lua\autorun\server”

resource.AddWorkshop( "150404359" ) 

Do I need to put ‘end’ after it?


Only have this.

resource.AddWorkshop( "150404359" )

ok thankyou!