[Web] Online players - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Other (
https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (
https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: [Web] Online players (
/showthread.php?tid=198004)
[Web] Online players -
dawidek11 - 10.12.2010
Hi, I am looking for web code that will actually check how many players are online on my server and display it. I have tried
https://sampforum.blast.hk/showthread.php?tid=104299 but no luck.
Re: [Web] Online players -
SaW - 10.12.2010
Use gamemonitor?
Respuesta: [Web] Online players -
ipsBruno - 10.12.2010
pawn Код:
new onlines;//top of gm
onlines++; //onplayerconnect
onlines--; //onplayerdisconnect
Now Save in File the array
onlines and read in php
My Tuto:
https://sampforum.blast.hk/showthread.php?tid=150637
Bonus + Code PHP in Final Tuto
Incorrect Area Man
Sorry my bad English
Thanks,Love All.
Re: [Web] Online players -
dawidek11 - 10.12.2010
Quote:
Originally Posted by SaW
Use gamemonitor?
|
Don't want any banner looking images, just a simple text with a number of players. eg. Players Online 3/500
[FeK]DraKiNs I've been thinking about saving it into file and then get it from ftp, if there is no other way i will try it, thanks.
Re: [Web] Online players -
jonnyboy - 10.12.2010
are u gonna use this on a forum? and how do you use ftp, php? D: i can only html :/