#Finding the names of all players with specific tags

1 messages · Page 1 of 1 (latest)

stable hinge
#

^ Self explanatory

steady raven
#
world.getAllPlayers()
  .filter(player => player.hasTag("Tag"))
  .map(plr => plr.name)```
stable hinge
#

thank you

stable hinge
#

or even just get the scores of all players in the game

magic jasper
magic jasper
#

prefix is like

#

test:"thistest"

#

test: is the prefix

stable hinge
#

so like

#

every player in my world when they join

#

get assigned an id based on when they joined (1-11)

#

i wanna get names by their ids

#

so like

#

Player 1 [ID 1]
Player 2 [ID 2]
Player 3[ID 3]

magic jasper
#

whats the point of that tho?

#

like why do u even need that system

stable hinge
#

yk like the old click gui's

#

like before forms

#

im making one of those cause im bored

magic jasper
#

just use forms

stable hinge
magic jasper
#

plus theres already text guis out there

#

wasting ur time

stable hinge
magic jasper
stable hinge
#

i already know how to do it with forms

#

there easy asf

#

im just trying to challenge myself

#

cause im bored

#

so im revamping a bunch of old systems making them more efficient

magic jasper
#

text gui will never be more efficient than anything

stable hinge
#

without changing the entire base of it

stable hinge
#

im trying to make it more efficent

#

idc if its less efficient the forms

magic jasper
#

why r u trying to get every players id tho?

stable hinge
#

so i can display it as a list

stable hinge
#

easy tpa and money transfer system