View Single Post
  #4  
Old 11-12-2008, 05:58 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by cbk1994 View Post
player.gmap.name may help, and getimgwidth() and getimgheight() may also. You'd still need to store the image, but you could do what GK does an always name things the same (yourserver_map-gmapname.png).
Problem is, I want this to be functional for everyone. If UN uses this, for example, I don't want them to have to change their map image or anything. getimgwidth and such would work, but it only works when in the cache and I don't want to run loops to check that. There's also the matter of getting the actual gmap name, and since Stefan never took my suggestion for expanding gmap data into variables... well, that's a problem.

Quote:
Originally Posted by cbk1994 View Post
players[i].pmswaiting() - returns boolean
players[i].ismasspm() - returns boolean
players[i].isguildpm() - returns boolean
players[i].openexternalpm(bool) - returns boolean - as parameter specify 'true' if it should display the pm sent by the player, otherwise always open a blank PM window

Those should help. I don't think it's possible to check for toalls messages.
Thanks, already got this done with Tig's help though
For future reference(it took me a while to figure it out), openexternalpm() works as:
PHP Code:
("-Playerlist").openexternalpm({findplayer(player.account)},false); 

Last edited by DustyPorViva; 11-12-2008 at 06:15 AM..
Reply With Quote