• ttt scoreboard
    0 replies, posted
How can I add another row on TTT using evolve ranks? I found garrysmod\gamemodes\terrortown\gamemode\vgui\sb_row.lua and this: function PANEL:Init() -- cannot create info card until player state is known self.info = nil self.open = false self.cols = {} self.cols[1] = vgui.Create("Label", self) self.cols[1]:SetText(GetTranslation("sb_ping")) self.cols[2] = vgui.Create("Label", self) self.cols[2]:SetText(GetTranslation("sb_deaths")) self.cols[3] = vgui.Create("Label", self) self.cols[3]:SetText(GetTranslation("sb_score")) self.cols [4] = vgui.Create("Label", self) self.cols [4]:SetText(evolve.ranks[ ply:EV_GetRank() ].Title) if KARMA.IsEnabled() then self.cols[5] = vgui.Create("Label", self) self.cols[5]:SetText(GetTranslation("sb_karma")) end I know I did that wrong, but it's what I have. btw, evolve.ranks is a table...
Sorry, you need to Log In to post a reply to this thread.