Need a bit of help at Dini.
#10

Quote:
Originally Posted by Mikkel
when you log off it doesnt save anything, and when you try to connect to the server, it says you are already logged in, it's quite a fatal error due to the fact i forced every client to log off at OnPlayerDisconnect, even tho i did that, it still says it's already logged in.
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
  ........
  if (IsPlayerLoggedIn[playerid])
  {
    dini_IntSet(file, "Score", GetPlayerScore(playerid));
    dini_IntSet(file, "Money", GetPlayerMoney(playerid));
  }
  IsPlayerLoggedIn[playerid]=0; // IsPlayerLoggedIn[playerid]=false ?!
}
Reply


Messages In This Thread
Need a bit of help at Dini. - by shitbird - 03.05.2009, 18:34
Re: Need a bit of help at Dini. - by HB - 03.05.2009, 18:38
Re: Need a bit of help at Dini. - by shitbird - 03.05.2009, 18:39
Re: Need a bit of help at Dini. - by HB - 03.05.2009, 18:42
Re: Need a bit of help at Dini. - by Andom - 04.05.2009, 07:09
Re: Need a bit of help at Dini. - by DracoBlue - 04.05.2009, 08:07
Re: Need a bit of help at Dini. - by shitbird - 04.05.2009, 11:14
Re: Need a bit of help at Dini. - by Think - 04.05.2009, 11:17
Re: Need a bit of help at Dini. - by DracoBlue - 04.05.2009, 11:27
Re: Need a bit of help at Dini. - by pen_theGun - 04.05.2009, 11:54

Forum Jump:


Users browsing this thread: 1 Guest(s)