>>>>>>>>>> Help With "Player Name Has Joined The Server!" <<<<<<<<<<
#3

Quote:
Originally Posted by DeltaAirlines12
Can someone please make me a simple FS that says
like if someones name is Joe, The when they join the server, it sends a message to all the players
saying "Joe Has Joined The Server!" Thanks.
public OnPlayerConnect(playerid)
{
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s has joined the server.", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)