Error Spam ERROR: GAMEMODE:'HUDPaint' Failed: [@lua\includes\extensions\table.lua:103] bad argument
1 replies, posted
Now this is a story all about how my gmod got flipped turned upside down.
I'm running DarkRP and it's been going nicely for about a year.
Now after an update to the shared.lua It is spazzing out, I(Everyone) get ERROR: GAMEMODE:'HUDPaint' Failed: [@lua\includes\extensions\table.lua:103] bad argument #1 to 'pairs' (table expected, got number)
Spammed all the way down the screen, I've worked out it's to do with the shared by using a fresh version of it.
Here is a link to my shared.lua [url]http://pastebin.com/R3SVuz5f[/url]
The new jobs are the ones with the donator group functions.
I don't see the error, but when you use the Thief class to make them, you forgot to change the chat command in the fightclub owner
[quote]TEAM_FIGHT = AddExtraTeam("Fight Club Owner", Color(100,100,0,255), {"models/player/Hostage/Hostage_04.mdl", "models/player/Hostage/Hostage_03.mdl", "models/player/Hostage/Hostage_02.mdl", "models/player/Hostage/Hostage_01.mdl"}, [[You start up a club/gym where you teach people to fight!
]], {}, [b][u]"thief"[/u][/b], 2, 75, 0, false, function(ply) return ply:GetNWString("usergroup") == "vip" or ply:IsAdmin() end )[/quote]
Sorry, you need to Log In to post a reply to this thread.