ID:273348
Feb 18 2010, 7:29 pm
|
|
Well, i did a Who Child... How i make when you click the name of a Player it popups a Window With that Player Info? Any Idea?
|
Feb 18 2010, 11:20 pm
|
|
Click() proc, but it has some requirements.
|
Instead of linking the name of the player, you could use something like this
[player.name] ( read up on it here http://www.byond.com/ members/?command=reference&path=DM%2Ftext%2Fmacros%2Fref ) which would create a link with a reference to that player embedded in it. then in order to work with that link, use client/Topic() Topic(href,href_list[],hsrc) var/X=hsrc if(X&&ismob(X)) if(istype(X,/mob/player)) mob.showplayerinfo(X) else src<<"Player not located." else src<<"Player not located." |