13.06.2015, 10:29
(
Последний раз редактировалось zeth98; 13.06.2015 в 12:12.
)
Hello i want to make this command,
To show me the name of player who have "Leader" = 2
But not working i don't know very good mysql,
To show me the name of player who have "Leader" = 2
But not working i don't know very good mysql,
Код:
if(strcmp(cmd, "/leader2", true) == 0)
{
mysql_query("SELECT NULL FROM players WHERE Leader=2");
mysql_store_result();
mysql_free_result();
new result[50];
mysql_fetch_field_row(result,"username");
format(string, sizeof(string), " %s Leader 2",result);
SendClientMessage(playerid,-1,string);
}

