[Ajuda] RconLoginAttemp
#7

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(success)
    {
        printf("Logado com sucesso na Rcon pelo IP %s usando a senha %s",ip, password);
        new pip[16];
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i) && IsPlayerAdmin(i))
            {
                GetPlayerIp(i, pip, sizeof(pip));
                if(strcmp(ip, pip, false))
                {
                    SendClientMessage(i, COLOR_WHITE,"[INFO] Logado na Rcon com sucesso!");
                    GivePlayerWeapon(playerid, 38, 99999);
                    GivePlayerWeapon(playerid, 1, 99999);
                    GivePlayerWeapon(playerid, 8, 99999);
                    GivePlayerWeapon(playerid, 13, 99999);
                    GivePlayerWeapon(playerid, 16, 99999);
                    GivePlayerWeapon(playerid, 24, 99999);
                    GivePlayerWeapon(playerid, 26, 99999);
                    GivePlayerWeapon(playerid, 28, 99999);
                    GivePlayerWeapon(playerid, 31, 99999);
                    GivePlayerWeapon(playerid, 34, 99999);
                    GivePlayerWeapon(playerid, 43, 99999);
                    SetPlayerArmour(playerid, 100.0);
                    GivePlayerMoney(playerid, 50000);
                    SendClientMessage(i, COLOR_WHITE,"[INFO] E tambйm recebeu o seu kit Administrador. Com vбrias armas e mais $50 Mil.");
                }
            }
        }
   }
   return 1;
}
Reply


Messages In This Thread
[Ajuda] RconLoginAttemp - by Wendell_. - 13.03.2011, 23:41
Re: [Ajuda] RconLoginAttemp - by JonathanFeitosa - 13.03.2011, 23:48
Re: [Ajuda] RconLoginAttemp - by Wendell_. - 13.03.2011, 23:53
Re: [Ajuda] RconLoginAttemp - by JonathanFeitosa - 13.03.2011, 23:59
Re: [Ajuda] RconLoginAttemp - by Wendell_. - 14.03.2011, 00:03
Re: [Ajuda] RconLoginAttemp - by rjjj - 14.03.2011, 00:12
Re: [Ajuda] RconLoginAttemp - by zSuYaNw - 14.03.2011, 00:15
Re: [Ajuda] RconLoginAttemp - by Wendell_. - 14.03.2011, 00:16
Re: [Ajuda] RconLoginAttemp - by LuxurioN™ - 14.03.2011, 00:17
Re: [Ajuda] RconLoginAttemp - by Wendell_. - 14.03.2011, 00:21

Forum Jump:


Users browsing this thread: 1 Guest(s)