10.12.2013, 11:38
ta errado o GetPlayerIp.
tava 128 no lugar do playerid oO
tava 128 no lugar do playerid oO
pawn Код:
stock EnviarMSGAdmins(playerid)
{
new playa[MAX_PLAYER_NAME];
GetPlayerName(playerid, playa,MAX_PLAYER_NAME);
new playerip[128], vini[128];
GetPlayerIp(playerid, playerip, sizeof(playerip));
format(vini,128,"O Jogador %s (ID:%d) Conectou-se Ao Servidor(IP:%s)", playa,playerid,playerip);
for(new i=0; i<MAX_PLAYERS; i++) if(IsPlayerAdmin(i))
{
SendClientMessage(i,0xAA3333AA,vini);
}
printf("|PLLog|:O Jogador %s (ID:%d) Conectou-se Ao Server(IP:%s)",playa,playerid,playerip);
return true;
}