23.02.2015, 14:29
I'm trying to add all the players in a group's scores up with MySQL. I've written this query:
But now, how do I get the result? What function do I use under OnGroupScoreCount? :S
pawn Код:
mysql_format(conhand, query2, sizeof(query2), "SELECT COUNT(score) FROM users WHERE group_id = %d", groupid);
mysql_pquery(conhand, query2, "OnGroupScoreCount");