Workshop Addon Error

I keep getting this error when starting up the server and it doesnt harm anything (that I know of) but its just something Ive been worndering about.

[lua]
[ERROR] lua/autorun/workshop.lua:1: attempt to call field ‘AddWorkshop’ (a nil value)

  1. unknown - lua/autorun/workshop.lua:1
    [/lua]

My workshop script is this:
[lua]
resource.AddWorkshop(“104479831”)
resource.AddWorkshop(“105115318”)
resource.AddWorkshop(“106427033”)
resource.AddWorkshop(“107432093”)
resource.AddWorkshop(“108424005”)
resource.AddWorkshop(“109643223”)
resource.AddWorkshop(“110871780”)
resource.AddWorkshop(“112986621”)
resource.AddWorkshop(“113495466”)
resource.AddWorkshop(“113585399”)
resource.AddWorkshop(“131710286”)
resource.AddWorkshop(“147708337”)
resource.AddWorkshop(“153071488”)
resource.AddWorkshop(“153109472”)
resource.AddWorkshop(“154035258”)
resource.AddWorkshop(“157660704”)
resource.AddWorkshop(“158351769”)
resource.AddWorkshop(“163221745”)
resource.AddWorkshop(“163806212”)
resource.AddWorkshop(“182919341”)
resource.AddWorkshop(“191065709”)
resource.AddWorkshop(“191065709”)
resource.AddWorkshop(“193152958”)
resource.AddWorkshop(“200318235”)
resource.AddWorkshop(“216408135”)
resource.AddWorkshop(“231144660”)
resource.AddWorkshop(“240138614”)
resource.AddWorkshop(“247181062”)
resource.AddWorkshop(“248643568”)
resource.AddWorkshop(“249177767”)
resource.AddWorkshop(“274555791”)
resource.AddWorkshop(“282455774”)
resource.AddWorkshop(“288092163”)
resource.AddWorkshop(“273623128”)
resource.AddWorkshop(“248725380”)
resource.AddWorkshop(“104482086”)
resource.AddWorkshop(“110286060”)

resource.AddWorkshop( “” )----------WireMod---------
resource.AddWorkshop( “104482086” )------Precision Tool------0.012MB
resource.AddWorkshop( “104815552” )------Smart Snap----------0.006MB
resource.AddWorkshop( “106944414” )------RT Camera-----------0.003MB
resource.AddWorkshop( “105115318” )------Fading Door---------0.003MB
resource.AddWorkshop( “109643223” )------Text Screens--------0.005MB
resource.AddWorkshop( “110286060” )------rp_downtown_v4c_v2–8.539MB
resource.AddWorkshop( “108424005” )------Keypad + Cracker----0.008MB
resource.AddWorkshop( “125264055” )------AntiPropKill--------0.001MB
resource.AddWorkshop( “268530778” )------ARC Bank------------0.001MB
resource.AddWorkshop( “190594220” )------Spaz12 Door Buster–1.821MB
resource.AddWorkshop( “114578864” )------Spiderman Swep------0.003MB
resource.AddWorkshop( “128089118” )------M9K Assault Rifles–51.407MB
resource.AddWorkshop( “163806212” )------Advanced Duplicator-0.046MB
resource.AddWorkshop( “104479831” )------Stacker Tool--------0.004MB
resource.AddWorkshop( “258063586” )------RP Retribution------51.712MB
resource.AddWorkshop( “220336312” )------PermaProps----------<1MB
resource.AddWorkshop( “104910430” )------Rape SWEP-----------0.004MB
resource.AddWorkshop( “” )
resource.AddWorkshop( “” )
resource.AddWorkshop( “” )
resource.AddWorkshop( “” )
resource.AddWorkshop( “” )

–PLAYERMODELS–
resource.AddWorkshop( “157660704” )–Agent 47------------Hitman--------------8.450MB
resource.AddWorkshop( “157623781” )–Alan Wake-----------
resource.AddWorkshop( “271967400” )–Mirrors Edge Girl—Master Ninja--------12.118MB
resource.AddWorkshop( “263159708” )–AVP Alien-----------Alien---------------1.808MB
resource.AddWorkshop( “213276429” )–Robber--------------Thief---------------4.488MB
resource.AddWorkshop( “109586003” )–SLOW NPC------Gangs---------------------27.0.59MB
resource.AddWorkshop( “107768377” )–HL Source Playermodels-Hacker-----------0.368MB
resource.AddWorkshop( “292617066” )–Gordon VIP-------------VIP Citizen------3.640MB
[/lua]

Where is the file located? Also, remove all of the empty AddWorkshops.

You only need them in server side, client will just give you that error. Is the error on the client or server?

Also: Precision, smart snap, rt camera, fading door, text screen, antiprop kill, stacker, permaprops.

Stuff like this does not need to be downloaded by the client. Do those guys a favour and check if your addons contain any custom models/materials or sounds before boring them with downloads.

The error appears in my ~ console
The path to the workshop.lua file is lua/autorun/server

No it isn’t. The error says: lua/autorun/workshop.lua:1

Put it in lua/autorun/server.

Thank you…Sorry, the previous coder who put it there must have been a complete retard like me.