ID:156246
 
So i was wondering how i would show who's in the game on skin kinda like a side panel similiar to how chat and chatters has it. I'm thinking possibly a list maybe. Forgive me im a terrible at this so if I'm totally wrong correct me.

var/list/P = list()// not sure on this

client/New()
P += mob

client/proc/Who()
for(var/mob/M in P)
//show your stuff baby


See I'm considering that's how you go about it but yet im sure I'm totally wrong.

Also then calling it I'm not so sure about either.


In Chat we use the Stat() proc, but Chatters is run through a grid. You can learn about grid's here.
In response to DarkeWarrior
I see I'm assuming on the chat i would use the code i used in the who() proc in stat()?

var/list/P = list()

client/New()
P += mob

client/proc/Who()
for(var/mob/M in P)
//show your stuff baby
return

mob
Stat()
statpanel("Who")
for(var/mob/M in P)
stat("",M.name)


Something like that?
In response to Rickoshay
More or less that's how it would look.