mainitems2
icon = 'main.dmi'
who
icon_state = "who"
Click()
Listplayers()
return//Stops the proc
New(client/C)
screen_loc = "11,3"
C.screen+=src
New(client/C)
C.screen+=src
mob/proc/Listplayers()
usr << "Chatters:"
for (var/mob/M)
if(M.client)
usr << "[M] [M.title]: [M.level]"
I'm getting Lisplayers() as an undefined proc, any help would be appreciated.
~Kusanagi
ID:149656
Mar 18 2002, 9:11 am
|
|
Click()
usr.ListPlayers()
Because usr is a mob (hopefully...) it will have access to that proc.
You should also probably not use usr in the ListPlayers proc. usr can be unpredictable when it isn't in a verb being directly clicked on by a player.