So here's the story: I was working on the scoreboard again, and I was attempting to add a specific part by removing it from the main file, making a new one, and doing the whole "include("filename.lua")" thing.
I made a file called "custom_ranks.lua", added an "include("custom_ranks.lua")" in the main "sb_row.lua" file and then tried to join, but it kicked me saying that the file didn't exist.
What I have done:
- Made sure that the filename/directory is correct. The filename + include + placement was correct, because the custom_ranks.lua file was inside the same folder as the sb_row.lua.
- Made sure everything was correct, then reloading the map using "changelevel".
- Did a full restart by doing "exit" in the server, then starting it back up.
My error is this:
Couldn't include file 'custom_ranks.lua' (File not found) (@gamemodes/terrortown/gamemode/vgui/sb_row.lua (line 7))
I have no clue why it's doing this, because I've double checked everything. And all of it seems to be correct. And that is the only error I'm getting. Any of you guys know of this problem?