I started buildign a castle in singleplayer mode on Gmod. After around 10 hours of working on this, all of a sudden the tool guns don’t work. Whenever I enter the server this message shows up in blue:
[@lua/includes/extensions/table.lua:33] bad argument to#1 to ‘pairs’ (table expected, got Weapon)
and then when I try to use a tool gun such as the Material Tool Gun, this message shows up several times:
[gamemodes/sandbox/entities/gmod_tool/shared.lua:150] attempt to call method ‘GetInfo’ (a nil value)
and this message shows up once:
[lua/includes/extensions/util.lua:39] attempt to call method ‘GetAimVector’ (a nil value)
NOTE: All the /'s are backwards in game.
Screenshots if you want to see for yourself:
If anyone could help it would be appreciated, as I would really like to figure out whats wrong. Also, I played on multiplayer servers and the tools worked fine, so obviously its something on that server. I only bought gmod around 5 days ago, so I don’t know if this is a common error or not.