23.10.2017, 08:51
PHP Code:
new DBResult:result = db_query(sql_pipeline, "SELECT * FROM `table_name` WHERE `score` = 50 LIMIT 1");
if(db_num_rows(result)) {
new name[MAX_PLAYER_NAME], string[100];
db_get_field_assoc_int(0, "name", name, sizeof name);
format(string, sizeof(string), "%s has 50 score", name);
SendClientMessage(playerid, -1, string);
}