in my multiplayer fps game i have a player list that shows at a lobby for waiting players, and at the widget where you choose teams.
at this image you can see what I do for showing the player widget
translations:
evento - event;
tique - tick;
atraso - delay;
obter estado do jogo - get game state;
alvo - target;
filhos - children;
filho - child;
apagar - delete;
adicionar - add;
the problem is the players list only appears for the host, for the other players the list has 0 players.