24.11.2016, 22:09
Updated query size.
How it will print each name that is under the same IP?
It prints only the first it finds.
For example i have at ID 1 MrJohnnz
and at ID 2 Username [GT]Ryder with the same ip but it shows me only the first one .
How it will print each name that is under the same IP?
It prints only the first it finds.
For example i have at ID 1 MrJohnnz
and at ID 2 Username [GT]Ryder with the same ip but it shows me only the first one .
PHP код:
function CheckAka(playerid)
{
new rows, fields;
cache_get_data(rows, fields, mysql);
if(rows)
{
cache_get_field_content(0, "Username", Name[playerid]);
SendFM(playerid, -1, "AKA: %s",Name[playerid]);
}
return 1;
}