06.02.2010, 13:53
public OnPlayerConnect(playerid)
{
new string[256];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playernam e));
format(string, sizeof(string), "welcome to Your servers name %s",playername);
SendClientMessage(playerid, 0x800080AA, string);
return 1;
}
makes a message pop up saying welcome to your server
{
new string[256];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playernam e));
format(string, sizeof(string), "welcome to Your servers name %s",playername);
SendClientMessage(playerid, 0x800080AA, string);
return 1;
}
makes a message pop up saying welcome to your server