Server Status
#5

This is what I get by using it.


connect()) { // If a successful connection has been made

print_r($query->getInfo()); // Print server info array

print_r($query->getBasicPlayers()); // Print basic players array, connection will time out if the player counter is above 100 and will return an empty array if no players are online

$query->close(); // Close the connection
} else {
echo "Server did not respond!";
}
?>

Then I tried another one I found in replies and got this:
http://prototype-gaming.tk/server-status/ (The first one)
Reply


Messages In This Thread
Server Status - by DeCoyz - 14.12.2012, 23:55
Re: Server Status - by $mooth - 15.12.2012, 07:02
Re: Server Status - by DeCoyz - 15.12.2012, 11:43
Re: Server Status - by Djole1337 - 15.12.2012, 11:53
Re: Server Status - by DeCoyz - 15.12.2012, 12:04
Re: Server Status - by DeCoyz - 16.12.2012, 13:12
Re: Server Status - by $mooth - 18.12.2012, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)