MetaGamer Posted November 21, 2011 Share Posted November 21, 2011 I want specific teams to be hidden. What I mean by that is for example: there are 4 teams. I want 2 teams to be not shown on the player list which shows up when tab is pressed. How to do it? Link to comment
TAPL Posted November 21, 2011 Share Posted November 21, 2011 Not Tested you can set an elemrnt data to the team setElementData(theTeam,"IsHidden",true) and then edit scoreboard dxscoreboard_client.lua line 386 put this in line 386 if not (getElementData(team,"IsHidden") then and don't forgot to put 'end' Link to comment
MetaGamer Posted November 21, 2011 Author Share Posted November 21, 2011 thank you. I will test to see if it works or not. Link to comment
MetaGamer Posted November 21, 2011 Author Share Posted November 21, 2011 It doesn't work. When I press Tab, nothing happens. No scoreboard. Link to comment
unknooooown Posted November 21, 2011 Share Posted November 21, 2011 Does it give you any errors? Type: /debugscript 3 - And try pressing TAB. Post any errors here. Link to comment
MetaGamer Posted November 21, 2011 Author Share Posted November 21, 2011 Nevermind it worked. if not (getElementData(team,"IsHidden") then Was missing a parenthesis. Thanks TAPL! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now