26.12.2010, 14:53
Quote:
Код:
public OnRconLoginAttempt(ip[], password[], success) pq nunca vi definir playerid |
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
if(success) //Se a senha estiver correta.
{
new pip[16];
for(new i=0; i<MAX_PLAYERS; i++) //Loop
{
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true))
{
SetPlayerChatBubble(i,"Membro[LSD]", 0xF6F6F6AA, 100.0, 99999);
}
}
}
return 1;
}