Other player's id
#2

Something like this
pawn Код:
public OnPlayerConnect(playerid)
{
  new pName[MAX_PLAYER_NAME];
  new string[56];
  GetPlayerName(playerid, pName, sizeof(pName));
  format(string, sizeof(string), "*** %s has joined the server.", pName);
  for (new a = 0 ; a < MAX_PLAYERS ; a++)
  {
    if (a != playerid)
    {
      SendClientMessage(a,GREY, string);//not for all, only for all the others
    }
  }
  return 1;
}
Reply


Messages In This Thread
Other player's id - by Marc_307 - 30.06.2009, 15:44
Re: Other player's id - by dice7 - 30.06.2009, 15:47
Re: Other player's id - by Marc_307 - 11.07.2009, 09:48

Forum Jump:


Users browsing this thread: 1 Guest(s)