[HELP] WANT TO GET ALL OF PLAYERS' NAME
#4

pawn Код:
new pName[MAX_PLAYERS][MAX_PLAYER_NAME];

// somewhere
for(new i = 0; i < MAX_PLAYERS; i++)
{
   if(!IsPlayerConnected(i)) continue;
   GetPlayerName(i, pName[i], MAX_PLAYER_NAME);
}
Untested.
Reply


Messages In This Thread
[HELP] WANT TO GET ALL OF PLAYERS' NAME - by RoCK'N'Rolla - 31.08.2010, 12:23
Re: [HELP] WANT TO GET ALL OF PLAYERS' NAME - by Grim_ - 31.08.2010, 12:26
Re: [HELP] WANT TO GET ALL OF PLAYERS' NAME - by RoCK'N'Rolla - 31.08.2010, 12:27
Re: [HELP] WANT TO GET ALL OF PLAYERS' NAME - by Grim_ - 31.08.2010, 12:32
Re: [HELP] WANT TO GET ALL OF PLAYERS' NAME - by RoCK'N'Rolla - 31.08.2010, 13:35
Re: [HELP] WANT TO GET ALL OF PLAYERS' NAME - by Grim_ - 31.08.2010, 13:41
Re: [HELP] WANT TO GET ALL OF PLAYERS' NAME - by RoCK'N'Rolla - 31.08.2010, 14:43

Forum Jump:


Users browsing this thread: 3 Guest(s)