Server Workshop Error

I was testing my new GMod server out and added to command to install workshop stuff to my server but I saw lots of errors. Is there a way to fix the errors of models?

Did you use resource.AddWorkshop?

How do I add that? I use the website FPSPlayer servers. FTP thingy. How do I add that, please tell me where is that.

Make a .lua file in lua/autorun/server

Continue…

Make a resource.AddWorkshop( “IDHERE” ) line for every workshop addon you want the players to download. resource.AddWorkshop does not support collections.

How do I write it in code?

What?

How do I write it in LUA code is it just: resource.AddWorkshop( “IDHERE” )?

Yes. The file just has to be called something**.lua**