SA-MP Forums Archive
Web Dev question. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Web Dev question. (/showthread.php?tid=597729)



Web Dev question. - Sebz - 04.01.2016

How would I go about creating a system for my website which automatically displays the server hostname, slots and gamemode? I've been looking around and I can't really seem to find a properly explained way of doing this.


Re: Web Dev question. - SilverStand - 04.01.2016

http://www.game-state.com/198.245.51.214:2222/banner/ Like this ?


Re: Web Dev question. - Vince - 04.01.2016

There's a server query API, written in PHP, floating around here somewhere. Shouldn't be too hard to find. Also see this: https://sampwiki.blast.hk/wiki/Query_Mechanism. Outdated image but the text is mostly still relevant.