Getting the amount of players online.
#4

hi,

you could also count the players with a variable on the server:

pawn Код:
new Players;

//OnPlayerConnect

Players++;

//OnPlayerDisconnect

Players--;


//and show them where u want...
format(string, sizeof(string), "%d Players Online", Players);
SendClientMessage(playerid,colour,string);

regards, wolf.
//edit: damn, too slow
Reply


Messages In This Thread
Getting the amount of players online. - by Luis- - 06.07.2011, 22:32
Re: Getting the amount of players online. - by Luis- - 06.07.2011, 22:54
Re: Getting the amount of players online. - by Skylar Paul - 06.07.2011, 22:56
Re: Getting the amount of players online. - by BlackWolf120 - 06.07.2011, 23:00
Re: Getting the amount of players online. - by [L3th4l] - 06.07.2011, 23:04
Re: Getting the amount of players online. - by Luis- - 06.07.2011, 23:08
Re: Getting the amount of players online. - by Shadoww5 - 06.07.2011, 23:25

Forum Jump:


Users browsing this thread: 1 Guest(s)