Quote:
Originally Posted by cbk1994
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
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);