15.04.2009, 13:02
I want to make that when a player chooses a class it sends a message to all saying
Welcome to [Playername]
Help pls?
Welcome to [Playername]
Help pls?
public OnPlayerRequestSpawn(playerid)
{
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "Welcome to %s.", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}