Quote:
Originally Posted by Googi
I assumed that was the idea. Of course you can just use findplayer if you know specifically who you want to check.
EDIT: I think I may have misread your statement. Were you asking if it checks every player to see if they have PMs waiting or checks to see if there are PMs waiting from each player? I think (since this is clientside) it checks to see if there are PMs waiting from each player.
In this context isn't var.account the account of the person who sent the pm? I'm pretty sure Stefan said that it was...
|
What do you mean by var.account?
PHP Code:
for ( temp.a : allplayers )
{
if ( temp.a.PMsWaiting() )
{
// Gah
}
}
Would not something like that work?