C Stack Overflow

So when ever I start up my gamemode it give’s me this error:



C stack overflow
C stack overflow
includes/modules/hook.lua:75: C stack overflow


At first I though it was because I had a table that had multiple tables inside of it, but I’ve seen other Lua with a similar structure. Then I though it was because of the complex loadout system using these tables, so I commented it out and it didn’t work. If anyone could help, that’d be great.

Something in your code is looping to the point that the “stack” becomes too full to take any more processing requests, and gives you that error.

Thanks, found the problem!