HCount For MTASA
Show Server Player Count On Website With PHP and GameQ API
This is a software who show server player count on website with PHP and GameQ API，affiliated to HCOS(HuiCheng Gaming Open Source Project)
Download the file, unzip it to a VPS/Server or other support UDP packets sending.
SET THE AUTHORITY ON QUERY If you want to make some strings in IP can queryif (strchr($ip,'string'))
Or assign IP can query
if ($ip == 'IP')
Edit it and copy it above of
//$sign = imagecreatefrompng('images/image.png');
GET THE IMAGE Link to on Internet Exporer then you can see the server player count image.
CHANGE COLOR Searchimagecolorallocate($sign, 255, 255, 255);
in mtasa.php, 255 In turn mean RGB color code, you can edit it by your perfect For Example the black is 0, 0, 0
NOTICE Server string length for this program enabled by default is <=9, for example 999/999. when the string length >9 will cannot run, then you need make a suit image and copy it to images folder and rename it to imagex(x mean that image sult lengh).png
If you like this, please donate we and let we have enough power to open source more and more software.
PayPal (Account: firstname.lastname@example.org)