18.10.2013, 13:13
Try:
pawn Код:
for(new i=0;i<MAX_PLAYERS;i++)
{
if(!IsPlayerAdmin(playerid)) return 1;
new h_name[MAX_PLAYER_NAME], str[100], ping[25];
GetPlayerName(playerid, h_name,sizeof (h_name));
GetPlayerIp(playerid, ping,sizeof (ping));
format(str,sizeof (str),"%s has joined server(%s)",h_name, ping);
SCM(i, 0x808080AA, str);
}