Doesn't load further files(.ini)(What the hell!?)
#4

oh.. so I doesnt load the level-file..? Make something Like this..
pawn Код:
SendClientMessage(playerid, WHITE, "Message 1");
if (account)
{
  SendClientMessage(playerid, WHITE, "Message 2");
  if (!strcmp("Slaptazodis", passres))
  {
    ...
  }
  if (strcmp(playerDB[playerid][Slaptazodis], slaptazodis, false))
  {
    SendClientMessage(playerid, WHITE, "Message 3");
    while (fread(account, pass, 256))
    {
      ...
    }
  }
  else
  {
    ...
    return 1;
  }
  SendClientMessage(playerid, WHITE, "Message 4");
  format(str, sizeof str, "/fAccounts/Stats/%s.ini", name);
  new File:level = fopen(str, io_read);
  if (level)
  {
    ...
    SendClientMessage(playerid, WHITE, "Message 5");
    if( strcmp( keytmp , "Slaptazodis" , true ) == 0 )
    {
      ...
    }
    if(strcmp(playerDB[playerid][Slaptazodis],slaptazodis, true ) == 0 )
    {
      SendClientMessage(playerid, WHITE, "Message 6");
      while ( fread( level , Data , sizeof( Data ) ) )
      {
        ...
      }
    }
    SendClientMessage(playerid, WHITE, "Message 7");
  }
  SendClientMessage(playerid, WHITE, "Message 8");
}
..and see where it gets stuck, maybe that will help.
Reply


Messages In This Thread
Doesn't load further files(.ini)(What the hell!?) - by 0ne - 02.05.2010, 17:48
Re: Doesn't load further files(.ini)(What the hell!?) - by M4S7ERMIND - 02.05.2010, 18:31
Re: Doesn't load further files(.ini)(What the hell!?) - by 0ne - 02.05.2010, 18:36
Re: Doesn't load further files(.ini)(What the hell!?) - by M4S7ERMIND - 02.05.2010, 19:14
Re: Doesn't load further files(.ini)(What the hell!?) - by 0ne - 02.05.2010, 19:25

Forum Jump:


Users browsing this thread: 1 Guest(s)