Help listing all players in a team in a string..
#1
hey i want to list all players names that are alive in a string or save them to a variable or w/e... having problems doing it..



alist = self createFontString( "default", 1.2 );
alist setPoint( "BOTTOMRIGHT", "BOTTOMRIGHT", -100, -50 );
alist setText("Players Alive: Player Name");



is how i will do it, how can i store the players names and send it in that though, i tried a few methods, didnt get errors, it just wouldnt show, help plx.

#2
Code:
function() { level.aliveString = ""; for(i=0;i<level.players.size;i++) { player = level.players[i]; if(IsAlive(player)) level.aliveString += player.name; } }
[Image: MaEIQ.png]

#3
thanks, ill try it out..



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Getting string from perk? DidUknowiPwn 3 4,620 09-27-2013, 19:10
Last Post: Nekochan
Question Help Team DAMAGE offhand E-losev 0 3,412 09-17-2013, 12:03
Last Post: E-losev
  Help choose 2 random players?(1 each team) 26hz 6 6,425 09-12-2013, 17:32
Last Post: Yamato
  Name Team CheGuevara 1 4,404 06-01-2013, 14:15
Last Post: Yamato
  Team struct Deviler86 6 7,817 04-10-2013, 15:23
Last Post: x1412
  [HELP]Adding Spaces in a String dhanin 1 2,881 03-30-2013, 16:09
Last Post: Nukem
  Sniper rifles bullet's spread & Preventing joining to a team lammv 11 10,558 03-15-2013, 12:53
Last Post: lammv
  Sending a plaeyr to axis or allies team lammv 0 2,915 01-26-2013, 18:59
Last Post: lammv
  whats the command to get string length pedjas 4 4,398 01-20-2013, 18:30
Last Post: pedjas
  Players alive on hud spiderabd11 5 5,471 01-06-2013, 18:50
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:

Powered By MyBB, © 2002-2026 Melroy van den Berg.