17.10.2013, 09:22
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new str[40], strname[1+MAX_PLAYER_NAME+1];
GetPlayerName(playerid, strname, sizeof(strname));
format(str,sizeof(str),"[Connect]: %s Has connected to the server", strname);
SendClientMessage(i, -1, str);
}
}