16.04.2012, 07:39
(
Последний раз редактировалось xxxDunecatxxx; 19.04.2012 в 02:32.
)
Close thread, thanks.
stock ListAllCops()
{
mysql_query("SELECT name FROM players WHERE faction = 1");
mysql_store_result();
new massivestr[2000], name[30];
while(mysql_retrieve_row())
{
mysql_get_field("name", name);
format(massivestr, sizeof(massivestr), "%s, %s", massivestr, name)
}
mysql_free_result();
return massivestr[1];
}
new string[2050];
format(string, sizeof(string), "Cops: %s", ListAllCops());