Rust plyers count

I want to display on my website how many players in game on server now. How I can query this info from server? Is there some proto as in srcds to obtain server info?

[editline]31st December 2013[/editline]

bump

bump

Standard source query.

For an example see http://bmrf.me/t/test.php?port=28018