View Single Post
  #6  
Old 12-14-2007, 11:11 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Googi View Post
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.allplayers )
{
  if ( 
temp.a.PMsWaiting() )
  {
    
// Gah
  
}

Would not something like that work?
__________________
Reply With Quote