Problem
#1

Hi all,i need a thing:

I've the OnPlayerConnect msg (blabla has joined the server),i need to do:

blabla has joined the server. (Players: 1/SERVER SLOTS).

How to?
Reply
#2

try this:
Код:
new players = 0;
	for(new i=0; i<GetMaxPlayers(); i++){
	    if(IsPlayerConnected(i)){
	        players++;
		}
	}
	players = players - 1;
	new string[200];
	format(string, sizeof(string), "blablablabla... (%d/%d)",players, GetMaxPlayers());
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)