Create a string for every player... Help please
#9

Something like this?

Код:
                        SendClientMessage(playerid, COLOR_WHITE, "Player Online:");
			for(new i = 0; i < MAX_PLAYERS; i++)
			{
				if(IsPlayerConnected(i))
				{
                                    new string[128];
                                    new pName[MAX_PLAYER_NAME];
				    GetPlayerName(i, pName, sizeof(pName));
			            format(string, 128, "%s", pName);
				    SendClientMessage(playerid, COLOR_WHITE, string);
                                 }
                         }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)