mob
Stat()
var/list/TeamList = new()
if (usr.TeamNum != 0)
statpanel("Team")
for (var/mob/M in world)
if (M.TeamNum == usr.TeamNum && usr != M)
TeamList.Add(M.name)
if (length(TeamList) > 0)
TeamList += "--Yourself--"
stat("People in Team","[length(TeamList)]")
stat("[TeamList]")
else
stat("People in Team","[length(TeamList)]")
stat("-=Yourself=-")
Problem description:ok when i run the game create a team and look at the panel to see whos in it it displays /list how can i make it display the players that are in the list.
That should do the trick... I just took a quick look over your code and came up with that small change.
§atans§pawn