04.03.2014, 07:58
I want an script when players join your server all admins will see this message.
"PLAYERNAME has joined your server..."
Thanks
"PLAYERNAME has joined your server..."
Thanks
public OnPlayerConnect(playerid)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"%s has joined the server. Welcome!",pName);
SendClientMessageToAll(0xFFFFFFAA,string);
return 1;
}
pawn Код:
|