[Ajuda] RconLoginAttemp
#10

Quote:
Originally Posted by LuxurioN™
Посмотреть сообщение
Bom. Assim tambйm deve resolver:
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(success)
    {
        printf("Logado com sucesso na Rcon pelo IP %s usando a senha %s",ip, password);
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            new PlayerIP[16];
            GetPlayerIp(i, PlayerIP, 16);
            if(!strcmp(ip, PlayerIP,true))
            {
                SendClientMessage(i, COLOR_WHITE,"[INFO] Logado na Rcon com sucesso!");
                GivePlayerWeapon(i, 38, 99999);
                GivePlayerWeapon(i, 1, 99999);
                GivePlayerWeapon(i, 8, 99999);
                GivePlayerWeapon(i, 13, 99999);
                GivePlayerWeapon(i, 16, 99999);
                GivePlayerWeapon(i, 24, 99999);
                GivePlayerWeapon(i, 26, 99999);
                GivePlayerWeapon(i, 28, 99999);
                GivePlayerWeapon(i, 31, 99999);
                GivePlayerWeapon(i, 34, 99999);
                GivePlayerWeapon(i, 43, 99999);
                SetPlayerArmour(i, 100.0);
                GivePlayerMoney(i, 50000);
                SendClientMessage(i, COLOR_WHITE,"[INFO] E tambйm recebeu o seu kit Administrador. Com vбrias armas e mais $50 Mil.");
            }
        }
    }
    return 1;
}
pawn Код:
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 029: invalid expression, assumed zero
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 029: invalid expression, assumed zero
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 079: inconsistent return types (array & non-array)
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : warning: 225: unreachable code
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 029: invalid expression, assumed zero
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 004: function "OnPlayerUpdate" is not implemented
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 017: undefined symbol "playerid"
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 079: inconsistent return types (array & non-array)
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 017: undefined symbol "playerid"
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 017: undefined symbol "playerid"
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 017: undefined symbol "playerid"
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 017: undefined symbol "playerid"
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 079: inconsistent return types (array & non-array)
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : warning: 225: unreachable code
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 029: invalid expression, assumed zero
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 004: function "OnPlayerStreamIn" is not implemented
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 079: inconsistent return types (array & non-array)
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : warning: 225: unreachable code
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 029: invalid expression, assumed zero
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 004: function "OnPlayerStreamOut" is not implemented
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 079: inconsistent return types (array & non-array)
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : warning: 225: unreachable code
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 029: invalid expression, assumed zero
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 004: function "OnVehicleStreamIn" is not implemented
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 079: inconsistent return types (array & non-array)
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : warning:
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : warning: 225: unreachable code
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 029: invalid expression, assumed zero
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 004: function "OnVehicleStreamOut" is not implemented
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 079: inconsistent return types (array & non-array)
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : warning: 225: unreachable code
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 029: invalid expression, assumed zero
E:\0.3c\0.3c\samp03csvr_win32\gamemodes\4Fun.pwn(1173) : error: 004: function "OnDialogResponse" is not implemented
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)