Is this error caused by addons? We've recently added a SWEP and playermodel but the hit system and wanted system don't work anymore.
We get this error in console:
[ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:1875: table index is nil
1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:1875
2. include - [C]:-1
3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:111
4. fn - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:119
5. Call - addons/ulib/lua/ulib/shared/hook.lua:183
6. unknown - lua/includes/modules/gamemode.lua:35
Is this error caused by addons or my horrible coding/mistakes?
Console Errors
-
- New to forums
- Posts: 7
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon Nov 05, 2012 6:04 pm
Re: Console Errors
Its caused by the second reason, but don't be sad about that.
jobs.lua:1875 ( wow 1875 thats a long jobs.lua code )
Ok, the problem is that if you add a gun you miss a , or you forgot to close a "weapon_rpg" for example, i would like if you copy / paste your jobs.lua file and i'll fix it for you
Remember to use code tags or ( www.pastebin.com )
jobs.lua:1875 ( wow 1875 thats a long jobs.lua code )
Ok, the problem is that if you add a gun you miss a , or you forgot to close a "weapon_rpg" for example, i would like if you copy / paste your jobs.lua file and i'll fix it for you

Remember to use code tags or ( www.pastebin.com )