09.12.2013, 16:03
pawn Код:
stock EnviarMSGAdmins(playerid)
{
new playa[MAX_PLAYER_NAME];
GetPlayerName(playerid, playa,MAX_PLAYER_NAME);
new playerip[26];
GetPlayerIp(playa, playerip, 26);
format(playerip,100,"O Jogador %s (ID:%d) Conectou-se Ao Servidor(IP:%d)", playa,playerid,playerip);
for(new i = 0 ; i < MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(i)) {
SendClientMessage(i, 0xAA3333AA, playerip);
}
}
printf("|Log|:O Jogador %s (ID:%d) Conectou-se Ao Server(IP:%d)",playa,playerid,playerip);
return true;
}