26.01.2010, 03:29
I se this code for my server..
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?
Код:
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;
}

Any help?

