Hi i wan't it to show players ranks on the TTT scoreboard but for some reason it's not working right. Also i'm trying to set it so if a user is in the default (user) group it's just blank. I'm pretty new to lua/garry's mod coding so any help would be appreciated :D
sb_row.lua file i 'borrowed' (before i messed it up): [url]http://pastebin.com/wQrazBpf[/url]
sb_main.lua file i out right copied from the same person: [url]http://pastebin.com/TirNAmFi[/url]
my current sb_row.lua file: [url]http://pastebin.com/AjhFXju3[/url]
i havn't edited the sb_main.lua file at all.
When i join my server and press tab, the top half just gets stuck tot he top of my screen. picture: [URL="http://steamcommunity.com/sharedfiles/filedetails/?id=214064989"]http://steamcommunity.com/sharedfiles/filedetails/?id=214064989[/URL]
and this is my console when i join: [URL="http://cloud-2.steampowered.com/ugc/450658374851839494/0353CF309C42187F0BC273C3C6B6F073EDF3315D/"]http://cloud-2.steampowered.com/ugc/450658374851839494/0353CF309C42187F0BC273C3C6B6F073EDF3315D/[/URL]
You need to post the error for anyone to be able to help you.
[URL=http://uppercutservers.com/rejax/coderhire/free/easyscoreboard.zip]I made an addon to add ranks without editing core files. just fill in the config values / add more[/URL]
The things you can config are:
EZS.Colors["superadmin"] = Color( 255, 0, 0 ) - Will make superadmins have a red name
EZS.Ranks["superadmin"] = "S. Admin" - Will make superadmins be represented by "S. Admin
EZS.RankPos = Number - Where the rank will be, 5 is right next to the karma, 7 is in the ~middle
EZS.CreateRankLabel = { enabled = true, text = "Rank" } - Do you want a label on top? It will show whatever you set text to
EZS.UseNameColors = true/false - Set true to use EZS.Colors to color ranks. if false all will be white
Remember that the TTT scoreboard does not like live updating, so you'll need to change map/restart to see changes properly. (Just do it on a listen server)
Awesome i'll try it out.
[editline]8th January 2014[/editline]
For some reason it's just showing everyones rank as blank. This is what my addons>ttt_easyscoreboard>lua>autorun>client>TTT_EasyScoreboard.lua looks like: [url]http://pastebin.com/HY4eJLAL[/url]
I also changed the sb_row.lua and sb_main.lua files back to what they were by default.
The scoreboard shows the "Rank" thing by karma just fine but that's just about it.
Scratch that for some reason it's not showing the rank thing anymore either
Have you done a map change or restarted?
yeah its changed a lot since then lol.
also it was sort of working randomly about 30 mins ago except their names were also the same color as the rank but a couple rounds in (i haven't changed any files and the map hasnt changed) now it only shows their names as the color and it doesn't show their names. This is what it looks like atm: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=214367696[/url]
[editline]9th January 2014[/editline]
It did it again except on a diffrent map.
first round: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=214368372[/url]
every round after that: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=214374295[/url]
NOTE: i changed the default user color from red to white since the last map change
Sorry, you need to Log In to post a reply to this thread.