So I wanted to change my rank colours in sb_row.lua, so I meddled and messed it up. I didn’t notice I did anything wrong but I am not a coder so. If you could tell me how to fix it, it would be appreciated. Here is what it says in console: Warning: vgui.Create failed to create the VGUI component (TTTScorePlayerRow)
[ERROR] gamemodes/terrortown/gamemode/vgui/sb_team.lua:85: attempt to index local ‘row’ (a nil value)
- AddPlayerRow - gamemodes/terrortown/gamemode/vgui/sb_team.lua:85
- UpdateScoreboard - gamemodes/terrortown/gamemode/vgui/sb_main.lua:270
3. Init - gamemodes/terrortown/gamemode/vgui/sb_main.lua:140
4. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:153
5. ScoreboardCreate - gamemodes/terrortown/gamemode/cl_scoreboard.lua:27
6. unknown - gamemodes/terrortown/gamemode/cl_scoreboard.lua:34
and here is my sb’s, cl’s and other.
SB Row: http://pastebin.com/H55iWxjY
SB Main: http://pastebin.com/axMMgtWB
SB Team: http://pastebin.com/kC0Jc0F4
CL Scoreboard: http://pastebin.com/NXrR48RV
Scripted Panels: http://pastebin.com/qMiHTTgq
If you can help thank you.