How to make only logged player saving stats.. :)
#8

Quote:
Originally Posted by DaniceMcHarley
Посмотреть сообщение
It's not really a big deal mate.


If the player is logged in. (true/1)
Then execute your saving code.


--


pawn Код:
foreach(new i : Player)
{
      if(IsLoggedIn(i))
      {
             SavePlayer(i);
             continue;
      }
}
As far as I know they work interchangably. I use it with the iterator first, it's always worked for me like that anyways.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)