[HELP]sscanf console error
#1

I se this code for my server..

Код:
LoadData(playerid)
{
  new
    pName[24],
    query[61],
    line[100];

  GetPlayerName(playerid, pName, 24);
  mysql_real_escape_string(pName, pName);
  format(query, sizeof(query), "SELECT * FROM jugadores WHERE nombre='%s'", pName); // we check and get the gata from that name
  mysql_query(query);
  mysql_store_result(); // we store the result.
  mysql_fetch_row_format(line, "."); // we set a delimiter
  sscanf(line, "p.issiii", pinfo[playerid][id], pinfo[playerid][nombre], pinfo[playerid][pass], pinfo[playerid][dinero], pinfo[playerid][trabajo], pinfo[playerid][admin]); // this will get the first 3 fields into pinfo[playerid][playeri]
  mysql_free_result();
  new textto[128];
  SendClientMessage(playerid, COLOR_LIGHTBLUE, textto);
  return 1;
}
When i am in the servers.. works perfectly the code but i dont know this error... apperas in my server console.. i dont understand it



Any help?

Reply


Messages In This Thread
[HELP]sscanf console error - by Zafire2008 - 26.01.2010, 03:29
Re: [HELP]sscanf console error - by Zafire2008 - 26.01.2010, 19:07
Re: [HELP]sscanf console error - by Zafire2008 - 26.01.2010, 22:29
Re: [HELP]sscanf console error - by bogeymanEST - 27.01.2010, 05:09
Re: [HELP]sscanf console error - by Zafire2008 - 27.01.2010, 11:57
Re: [HELP]sscanf console error - by bogeymanEST - 29.01.2010, 13:29
Re: [HELP]sscanf console error - by Zafire2008 - 29.01.2010, 19:40
Re: [HELP]sscanf console error - by bogeymanEST - 30.01.2010, 10:03

Forum Jump:


Users browsing this thread: 1 Guest(s)