14.06.2016, 07:18
(
Последний раз редактировалось Sc0pion; 17.08.2017 в 11:33.
)
Fixed!
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();
This should work.
PHP код:
|
new array[10];
array = 0;
array[5] = 0;