Console Error

So I was creating and editing some Jobs in the jobrelated.lua and when I started up my server it pretty much crapped it server and put these Errors into console:

[ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:540: attempt to index a nil value

  1. initPlayer - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:540
  2. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:585

[ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:603: attempt to index local ‘jobTable’ (a nil value)

  1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:603

[ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:675: attempt to index local ‘jobTable’ (a nil value)

  1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:675

CreateFragmentsFromFile: ‘user_custom/87/87986c63.dat’ doesn’t exist.

[ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:239: attempt to index local ‘jobTable’ (a nil value)

  1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:239

This is the Lua file I was editing at the time:

Please help me, I have no idea what I have done wrong.

For one, you shouldn’t be editing this file as stated at the very top:

here is the addon they recommend to download:

[](DarkRP Mod Addon)

Ok thank you for letting me know man. In the folder you have to sent to me, where do I edit the Jobs?

And also where do I put the folder into the addons?

read all signs and instructions, and reinstall your darkrp.

the darkrpmodification folder should be placed so that the directory looks like this

then find the customthings folder and in that, jobs.lua. Edit that file.

again, if you have no idea what you’re doing DO NOT edit the darkrp gamemode.