SA-MP Forums Archive
[HELP] server statistics into html for web. - 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: [HELP] server statistics into html for web. (/showthread.php?tid=605590)



[HELP] server statistics into html for web. - D1am0nd - 21.04.2016

hello. i'd would like to know, how to create a server monitor with the all statistics, like online player list with all player's names, current map and ip adress. it must be in html


Re: [HELP] server statistics into html for web. - Stuntff - 21.04.2016

You have to know php and gamemode on mysql.

And so for example:
When player login to account update variable "Connected" to 1
In php script, make a request to the database that will look for players with variable "Connected" = 1


Re: [HELP] server statistics into html for web. - JaydenJason - 22.04.2016

It's not HTML. It's PHP. This forum isn't probably the best place for you to learn this.

I suggest you check out the following links:

http://www.w3schools.com/php/
http://www.w3schools.com/sql/
https://www.codecademy.com/learn/learn-sql
https://www.codecademy.com/learn/php

Go on from there.

Gain some experience on PHP and MySQL first.


Re: [HELP] server statistics into html for web. - xPhantom - 22.04.2016

Quote:
Originally Posted by JaydenJason
Посмотреть сообщение
It's not HTML. It's PHP. This forum isn't probably the best place for you to learn this.

I suggest you check out the following links:

http://www.w3schools.com/php/
http://www.w3schools.com/sql/
https://www.codecademy.com/learn/learn-sql
https://www.codecademy.com/learn/php

Go on from there.

Gain some experience on PHP and MySQL first.
Either that or pay someone to do it for you, pretty sure some people here are willing to do it for cash; you'd just have to look for that person.