Unique Posted May 8, 2020 Share Posted May 8, 2020 Hi, i make my own scoreboard, but i have one issue, i want to export to scoreboard my admin title, but i have just my admin_level, how can i make admin title.. like.. not AD rank 6, but Trial admin or something like that.. CODE: {"AD",-0.05, "right", function (p) return getElementData(p,"admin_level") or "0" end}, Link to comment
Moderators IIYAMA Posted May 8, 2020 Moderators Share Posted May 8, 2020 (edited) 10 minutes ago, Danex said: {"AD",-0.05, "right", function (p) return getElementData(p,"admin_level") or "0" end}, local adminLevelTitels = {"admin-1","admin-2","admin-3","admin-4","admin-5","admin-6"} {"AD",-0.05, "right", function (p) return adminLevelTitels[getElementData(p,"admin_level")] or "I am level 0! HA!" end}, Edited May 8, 2020 by IIYAMA 1 Link to comment
Unique Posted May 8, 2020 Author Share Posted May 8, 2020 7 minutes ago, IIYAMA said: local adminLevelTitels = {"admin-1","admin-2","admin-3","admin-4"} {"AD",-0.05, "right", function (p) return adminLevelTitels[getElementData(p,"admin_level")] or "I am level 0! HA!" end}, you are my soul now thanks, works 1 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