Lua error help

So i get this when i join the server. but only when i join:
[ERROR] gamemodes/darkrp/gamemode/config/jobrelated.lua:881: table index is nil

  1. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:881
  2. include - [C]:-1
    3. unknown - gamemodes/darkrp/gamemode/cl_init.lua:37
    line 881 isnt a coded line in there.

This is what it looks like starting from line 879:

Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_HAZTECH] = true,
[TEAM_MAYOR] = true,
[TEAM_NG] = true,
[TEAM_FBI] = true,
[TEAM_SNIPER] = true,
[TEAM_SWATCO] = true,
[TEAM_SWAT] = true}

An supposedly the line thats wrong is the set warrents and police related line thats blocked off?
Any Help?

one of these teams doesn’t exists, that’s why lua throws this error, due you are trying to set a value on a nil index

Ok thank you. didnt realize it. lol