Joining/Leaving
#2

pawn Код:
public OnPlayerConnect(playerid)
{
  new string[128],
    name[MAX_PLAYER_NAME];

  GetPlayerName(playerid,name,sizeof(name);
 
  format(string,sizeof(string),"<%s> <%d> has joined the server",name,playerid);
  SendClientMessageToAll(0xFFFFFFFF,string);
  SendClientMessage(playerid,0xFFFFFFAA,"Welcome to the server!");
  return 1;
}
Reply


Messages In This Thread
Joining/Leaving - by jesuschristlordandsavior - 06.02.2010, 14:59
Re: Joining/Leaving - by ettans - 06.02.2010, 15:03
Re: Joining/Leaving - by Correlli - 06.02.2010, 15:03
Re: Joining/Leaving - by ettans - 06.02.2010, 15:05
Re: Joining/Leaving - by jesuschristlordandsavior - 06.02.2010, 15:13
Re: Joining/Leaving - by ¤Adas¤ - 06.02.2010, 15:14
Re: Joining/Leaving - by jesuschristlordandsavior - 06.02.2010, 15:39
Re: Joining/Leaving - by DeathOnaStick - 06.02.2010, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)