[Web] Online players
#1

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.
Reply
#2

Use gamemonitor?
Reply
#3

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.
Reply
#4

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.
Reply
#5

are u gonna use this on a forum? and how do you use ftp, php? D: i can only html :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)