mariuswq 1 Posted October 3, 2018 Share Posted October 3, 2018 Hello, I have spent hours of googling for info, and I haven't found right answer. My main goal is to display SA:MP Server players count. My code now: I am using PHP blocks. include('monitorius/SampQueryAPI.php'); $query = new SampQueryAPI('', 7777); if($query->isOnline()) { $aInformation = $query->getInfo(); } echo "".$aInformation['players']." / ".$aInformation['maxplayers'].""; And this is the errors what I get. http://prntscr.com/l1tgav Link to comment Share on other sites More sharing options...
Recommended Posts