14.06.2016, 07:25
This should work.
PHP код:
new tmp2[16], savingstring[16];
format(query,sizeof(query), "SELECT IP FROM Accounts WHERE UserName='%s'", udb_encode(GetName(playerid)));
mysql_query(query);
mysql_store_result();
while(mysql_fetch_row_format(query,"|"))
{
mysql_fetch_field_row(savingstring, "IP");
strcat(tmp2, savingstring);
}
mysql_free_result();