So recently been working on a little neat and helpful player menu and I’ve noticed that my derma menus are not initializing when I fist join in the game. I get this error.
[ERROR] lua/autorun/client/cl_menu.lua:7: attempt to index local 'menuFrame' (a nil value) 1. playerMenu - lua/autorun/client/cl_menu.lua:7 2. unknown - lua/autorun/client/cl_menu.lua:18
Even when I put this into autorun/client with if SERVER then end at the top I still get this exact error.
If I edit the file though it loads in properly once I save it though.