Problems with resource.AddWorkshop

It’s apperantly giving me this error

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

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

Does anyone know what the problem is and how I can fix it?

Put the script into autorun/server/

Thanks, Robotboy! That fixed it :slight_smile: