Online player count (+REP)
#4

Quote:
Originally Posted by Meller
Посмотреть сообщение
Use a loop,
PHP код:
new usersOnline 0;
for(new 
0MAX_PLAYERSi++)
{
    if(
IsPlayerConnected(i))
    {
         
usersOnline++;
    }

was talking about a PHP version for a website
Quote:
Originally Posted by JasperM
Посмотреть сообщение
Obviously this is about PHP, not PAWN. I made something similar some time ago, lets see if I can find it.
Thanks a lot, because every single version I tried using, regardless of the author, doesn't work elsewhere rather than on the localhost(my PC), when I upload it to my website it says that the server is offline when it's up O_O
Reply


Messages In This Thread
Online player count (+REP) - by Amit1998 - 22.05.2016, 17:31
Re: Online player count (+REP) - by Luicy. - 22.05.2016, 17:33
Re: Online player count (+REP) - by JasperM - 22.05.2016, 17:39
Re: Online player count (+REP) - by Amit1998 - 22.05.2016, 17:41
Re: Online player count (+REP) - by Amit1998 - 22.05.2016, 17:46
Re: Online player count (+REP) - by JasperM - 22.05.2016, 17:49
Re: Online player count (+REP) - by Amit1998 - 22.05.2016, 18:05
Re: Online player count (+REP) - by Amit1998 - 22.05.2016, 21:59

Forum Jump:


Users browsing this thread: 1 Guest(s)