View Single Post
Pricetx
Junior Member
Join Date: Jan 2013
Old 01-29-2016 , 19:43   Re: general stastistics of hlstats
Reply With Quote #2

You will need to use a server-side language such as PHP to communicate with the HLStatsX MySQL database. If you're not sure how to do this, I recommend you look for a tutorial on running SQL queries against MySQL using PHP.

However, I can tell you the SQL queries you want to use are:

For player count:
SELECT count(*) FROM hlstats_Players WHERE hideranking = 0

For kill count:
SELECT SUM(kills) FROM hlstats_Servers
Pricetx is offline