Querying SAMP Server form PHP.
#8

Quote:
Originally Posted by ev0lution
Посмотреть сообщение
As other's have said, use Westie's SampQueryAPI for instant, up-to-date information.

I don't know why you would use an external service that caches results when you can quite easily query your server by yourself.
Well, SACNR Monitor API tells you a few extra things:

- The server's hosted tab status
- Average players + server rank
- Previous player count readings (up to 2 weeks), suitable for using in a graph

The API will also work if your server is down temporarily (e.g. for a server restart or outage). Although SACNR Monitor has its outages from time to time as well.

If you just want to get the player count and don't care about any of this, then just use Westie's query class.
Reply


Messages In This Thread
Querying SAMP Server form PHP. - by Ahmad45123 - 14.02.2015, 21:09
Re: Querying SAMP Server form PHP. - by Sergei - 14.02.2015, 21:10
Re: Querying SAMP Server form PHP. - by Ahmad45123 - 14.02.2015, 21:12
Re: Querying SAMP Server form PHP. - by Vince - 14.02.2015, 21:14
Re: Querying SAMP Server form PHP. - by Abagail - 14.02.2015, 21:30
Re: Querying SAMP Server form PHP. - by Ahmad45123 - 14.02.2015, 21:33
Re: Querying SAMP Server form PHP. - by ev0lution - 15.02.2015, 03:22
Re: Querying SAMP Server form PHP. - by Blacklite - 16.02.2015, 02:04

Forum Jump:


Users browsing this thread: 1 Guest(s)