Закрыть Привет! Если вы читаете это - Вы еще не зарегистрированы. Это займет не больше минуты. Нажмите здесь, чтобы пройти регистрацию в несколько простых шагов, чтобы пользоваться всеми возможностями нашего форума. Обратите внимание, запрещены непристойные, матерные, бессмысленные (цифры, случайный набор букв) ники. Удачи!

Тема: [Вопрос] Создание команды /invite

Показано с 1 по 10 из 12

  1. #1
    Пользователь

    Аватар для TLKA

    Статус: Оффлайн
    Регистрация:13.06.2012
    Сообщений:326
    Репутация:84 [+/-] 

    [Вопрос] Создание команды /invite

    Лазил по урокам и нашел такой скри http://s003.radikal.ru/i204/1206/62/b90693d87fd0.jpg

    Видел там писали как сделать но то я вижу не для RLS как сделать такое http://s003.radikal.ru/i204/1206/62/b90693d87fd0.jpg под RLS думаю многим пригодится вот моя команда:
    PHP код:
    if(strcmp(cmd"/invite"true) == 0)
        {
            new 
    para1;
            new 
    ftext[25];
            new 
    invite[512];
            new 
    Zam;
            if(
    IsPlayerConnected(playerid))
            {
                
    tmp strtok(cmdtextidx);
                if(!
    strlen(tmp)) return    SendClientMessage(playeridCOLOR_GRAD2"Введите: /invite [id]");
                
    para1 ReturnUser(tmp);
                if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 14 || Zam == PlayerInfo[playerid][pMember])
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    PlayerInfo[para1][pMember]!=PlayerInfo[playerid][pMember])
                        {
                        
    SendClientMessage(para10x6495EDFF,"Игрок не в вашей фракции.");
                        }
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 3 lvl");
                            if (
    PlayerInfo[para1][pMember] == 14 ) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            
    //if (PlayerInfo[para1][pVoennik] == 0) return     SendClientMessage(playerid, COLOR_GREY, "Человек не служил в армии");
                            
    if(PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 14) { ftext "LSPD"InviteSkin[para1] = 280; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
                }
    //not connected
                
    else if (PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 6)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 8) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 8 lvl");
                            if (
    PlayerInfo[para1][pMember] == 16) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");

                            if    (
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if    (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7) { ftext "ФБР"InviteSkin[para1] = 286;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 15)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pMember] != 0) return          SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 3 lvl");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return    SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 15) {  ftext "Армия: Авианосец"InviteSkin[para1] = 287;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }

                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 5) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7) { ftext "МЧС"InviteSkin[para1] = 70;  }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7) { ftext "ЛКН"InviteSkin[para1] = 223; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }

                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 9) { ftext "Якудза"InviteSkin[para1] = 120;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));                            InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 4) {   ftext "Мэрия"InviteSkin[para1] = 57; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 4) { ftext "Casino Rich"InviteSkin[para1] = 171;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5) { ftext "SF NEWS"InviteSkin[para1] = 250; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pMember] == 10 && PlayerInfo[playerid][pRank] == 14)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 3 lvl");
                            if (
    PlayerInfo[para1][pMember] !=&& PlayerInfo[para1][pRank] >) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            if (
    PlayerInfo[para1][pMember] !=19 && PlayerInfo[para1][pRank] >) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pMember] == 10 && PlayerInfo[playerid][pRank] == 14) {  ftext "SFPD"InviteSkin[para1] = 286; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11 && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11 && PlayerInfo[playerid][pRank] == 7) { ftext "Инструкторы"InviteSkin[para1] = 59;  }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }

                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 12 ||PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pRank] == 9) {  ftext "The Ballas Gang"InviteSkin[para1] = 102;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 && PlayerInfo[playerid][pRank] == 10)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 && PlayerInfo[playerid][pRank] == 10) {  ftext "Los Santos Vagos"InviteSkin[para1] = 108; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 14 && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 14 && PlayerInfo[playerid][pRank] == 7) {  ftext "Russian Mafia"InviteSkin[para1] = 111; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15 && PlayerInfo[playerid][pRank] == 9) {  ftext "Grove Street Gang"InviteSkin[para1] = 106;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
    //not connected
                    
    }
                }
                else if (
    PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 16 && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 16 && PlayerInfo[playerid][pRank] == 5) { ftext "LS NEWS"InviteSkin[para1] = 261; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
                }
    //not connected
                
    else if (PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17 && PlayerInfo[playerid][pRank] == 9) {  ftext "Varios Los Aztecas"InviteSkin[para1] = 115; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18 && PlayerInfo[playerid][pRank] == 9) {  ftext "The Rifa Gang";InviteSkin[para1] = 174; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 19 || PlayerInfo[playerid][pMember] == 19 && PlayerInfo[playerid][pRank] == 15)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 19 || PlayerInfo[playerid][pMember] == 19 && PlayerInfo[playerid][pRank] == 14) { ftext "Зона 51"InviteSkin[para1] = 287;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 20 || PlayerInfo[playerid][pMember] == 20 && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 20 || PlayerInfo[playerid][pMember] == 20 && PlayerInfo[playerid][pRank] == 5) { ftext "LV NEWS";InviteSkin[para1] = 261;}
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 21 || PlayerInfo[playerid][pMember] == 21 && PlayerInfo[playerid][pRank] == 14)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 3 lvl");
                            if (
    PlayerInfo[para1][pMember] !=&& PlayerInfo[para1][pRank] >) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            if (
    PlayerInfo[para1][pMember] !=19 && PlayerInfo[para1][pRank] >) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 21 || PlayerInfo[playerid][pMember] == 21 && PlayerInfo[playerid][pRank] == 14) {  ftext "LVPD"InviteSkin[para1] = 280;}
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else
                {
                    
    SendClientMessage(playeridCOLOR_GRAD1"Вы не уполномочены использовать эту команду!");
                }
                return 
    1;
            }
        } 
    Последний раз редактировалось TLKA; 10.07.2012 в 20:24.
    Как создать урок,заходишь на любой левый форум павно,копируешь урок которого нету тут.И пишешь что он твой все вы МАГ и БОГ павно.xD

    А если честно скайп : aimfake
  2. #2
    Пользователь

    Аватар для DesertFox

    Статус: Оффлайн
    Регистрация:05.07.2012
    Сообщений:193
    Репутация:8 [+/-] 
    Лазил по урокам и нашел такой скри http://s003.radikal.ru/i204/1206/62/b90693d87fd0.jpg

    Видел там писали как сделать но то я вижу не для RLS как сделать такое http://s003.radikal.ru/i204/1206/62/b90693d87fd0.jpg под RLS думаю многим пригодится вот моя команда:
    PHP код:
    if(strcmp(cmd"/invite"true) == 0)
        {
            new 
    para1;
            new 
    ftext[25];
            new 
    invite[512];
            new 
    Zam;
            if(
    IsPlayerConnected(playerid))
            {
                
    tmp strtok(cmdtextidx);
                if(!
    strlen(tmp)) return    SendClientMessage(playeridCOLOR_GRAD2"Введите: /invite [id]");
                
    para1 ReturnUser(tmp);
                if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 14 || Zam == PlayerInfo[playerid][pMember])
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    PlayerInfo[para1][pMember]!=PlayerInfo[playerid][pMember])
                        {
                        
    SendClientMessage(para10x6495EDFF,"Игрок не в вашей фракции.");
                        }
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 3 lvl");
                            if (
    PlayerInfo[para1][pMember] == 14 ) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            
    //if (PlayerInfo[para1][pVoennik] == 0) return     SendClientMessage(playerid, COLOR_GREY, "Человек не служил в армии");
                            
    if(PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 14) { ftext "LSPD"InviteSkin[para1] = 280; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
                }
    //not connected
                
    else if (PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 6)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 8) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 8 lvl");
                            if (
    PlayerInfo[para1][pMember] == 16) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");

                            if    (
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if    (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7) { ftext "ФБР"InviteSkin[para1] = 286;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 15)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pMember] != 0) return          SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 3 lvl");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return    SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 15) {  ftext "Армия: Авианосец"InviteSkin[para1] = 287;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }

                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 5) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7) { ftext "МЧС"InviteSkin[para1] = 70;  }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7) { ftext "ЛКН"InviteSkin[para1] = 223; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }

                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 9) { ftext "Якудза"InviteSkin[para1] = 120;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));                            InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 4) {   ftext "Мэрия"InviteSkin[para1] = 57; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 4) { ftext "Casino Rich"InviteSkin[para1] = 171;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5) { ftext "SF NEWS"InviteSkin[para1] = 250; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pMember] == 10 && PlayerInfo[playerid][pRank] == 14)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 3 lvl");
                            if (
    PlayerInfo[para1][pMember] !=&& PlayerInfo[para1][pRank] >) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            if (
    PlayerInfo[para1][pMember] !=19 && PlayerInfo[para1][pRank] >) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pMember] == 10 && PlayerInfo[playerid][pRank] == 14) {  ftext "SFPD"InviteSkin[para1] = 286; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11 && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11 && PlayerInfo[playerid][pRank] == 7) { ftext "Инструкторы"InviteSkin[para1] = 59;  }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }

                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 12 ||PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pRank] == 9) {  ftext "The Ballas Gang"InviteSkin[para1] = 102;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 && PlayerInfo[playerid][pRank] == 10)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 && PlayerInfo[playerid][pRank] == 10) {  ftext "Los Santos Vagos"InviteSkin[para1] = 108; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 14 && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 14 && PlayerInfo[playerid][pRank] == 7) {  ftext "Russian Mafia"InviteSkin[para1] = 111; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15 && PlayerInfo[playerid][pRank] == 9) {  ftext "Grove Street Gang"InviteSkin[para1] = 106;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
    //not connected
                    
    }
                }
                else if (
    PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 16 && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 16 && PlayerInfo[playerid][pRank] == 5) { ftext "LS NEWS"InviteSkin[para1] = 261; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
                }
    //not connected
                
    else if (PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17 && PlayerInfo[playerid][pRank] == 9) {  ftext "Varios Los Aztecas"InviteSkin[para1] = 115; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18 && PlayerInfo[playerid][pRank] == 9) {  ftext "The Rifa Gang";InviteSkin[para1] = 174; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 19 || PlayerInfo[playerid][pMember] == 19 && PlayerInfo[playerid][pRank] == 15)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 19 || PlayerInfo[playerid][pMember] == 19 && PlayerInfo[playerid][pRank] == 14) { ftext "Зона 51"InviteSkin[para1] = 287;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 20 || PlayerInfo[playerid][pMember] == 20 && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 20 || PlayerInfo[playerid][pMember] == 20 && PlayerInfo[playerid][pRank] == 5) { ftext "LV NEWS";InviteSkin[para1] = 261;}
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 21 || PlayerInfo[playerid][pMember] == 21 && PlayerInfo[playerid][pRank] == 14)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 3 lvl");
                            if (
    PlayerInfo[para1][pMember] !=&& PlayerInfo[para1][pRank] >) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            if (
    PlayerInfo[para1][pMember] !=19 && PlayerInfo[para1][pRank] >) return SendClientMessage(playeridCOLOR_GREY"Игрок должен дослужить до 3 ранга в армии");
                            if(
    PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playeridCOLOR_GRAD1,"У игрока Warn.");
                            if(
    PlayerInfo[playerid][pLeader] == 21 || PlayerInfo[playerid][pMember] == 21 && PlayerInfo[playerid][pRank] == 14) {  ftext "LVPD"InviteSkin[para1] = 280;}
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else
                {
                    
    SendClientMessage(playeridCOLOR_GRAD1"Вы не уполномочены использовать эту команду!");
                }
                return 
    1;
            }
        } 
    команда огромная....Долго наверное придётся переделывать под рлс...Думаю проще будет свою написать)
    Помогаю в скриптинге нужна помощь пишите!
    SKYPE - aim4ik2
    ICQ - 157-113-3
  3. #3
    Пользователь

    Аватар для TLKA

    Статус: Оффлайн
    Регистрация:13.06.2012
    Сообщений:326
    Репутация:84 [+/-] 
    команда огромная....Долго наверное придётся переделывать под рлс...Думаю проще будет свою написать)
    я тож так подумал просто мб кто скажеть что на что заменить или у кого уже есть такая функция
    Как создать урок,заходишь на любой левый форум павно,копируешь урок которого нету тут.И пишешь что он твой все вы МАГ и БОГ павно.xD

    А если честно скайп : aimfake
  4. #4
    Пользователь

    Аватар для arch0797

    Статус: Оффлайн
    Регистрация:12.07.2012
    Сообщений:31
    Репутация:0 [+/-] 
    я тож так подумал просто мб кто скажеть что на что заменить или у кого уже есть такая функция
    Эм , она не огромная , это просто прописана команда к фракциям ... и всё ...
  5. #5
    Пользователь

    Аватар для fReedom maN`

    Статус: Оффлайн
    Регистрация:21.01.2012
    Адрес:Аляска
    Сообщений:421
    Репутация:128 [+/-] 
    Код HTML:
    OFFTOP
    TLKA, кинь свой серв=)
  6. #6
    Пользователь

    Аватар для TLKA

    Статус: Оффлайн
    Регистрация:13.06.2012
    Сообщений:326
    Репутация:84 [+/-] 
    нету его скоро будет желающие поиграть на открытии в скайпе aimfake Добавляйте)
    Как создать урок,заходишь на любой левый форум павно,копируешь урок которого нету тут.И пишешь что он твой все вы МАГ и БОГ павно.xD

    А если честно скайп : aimfake
  7. #7
    Заблокирован

    Аватар для Double_Traitor

    Статус: Оффлайн
    Регистрация:15.04.2012
    Адрес:√0+0*0
    Сообщений:687
    Репутация:60 [+/-] 
    ну можно с Y и N замутить =)
    честно сказать делать там минут на 30 времени,но мне лень :D
  8. #8
    Пользователь

    Аватар для Lobster

    Статус: Оффлайн
    Регистрация:10.07.2012
    Сообщений:15
    Репутация:0 [+/-] 
    PHP код:
        if(strcmp(cmd"/invite"true) == 0)
        {
            new 
    para1;
            new 
    ftext[25];
            new 
    invite[512];
            new 
    Zam;
            if(
    IsPlayerConnected(playerid))
            {
                
    tmp strtok(cmdtextidx);
                if(!
    strlen(tmp)) return    SendClientMessage(playeridCOLOR_GRAD2"Введите: /invite [id]");
                
    para1 ReturnUser(tmp);
                if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 14 || Zam == PlayerInfo[playerid][pMember])
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    PlayerInfo[para1][pMember]!=PlayerInfo[playerid][pMember])
                        {
                        
    SendClientMessage(para10x6495EDFF,"Игрок не в вашей фракции.");
                        }
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 2) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 2 lvl");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 14) { ftext "LSPD"InviteSkin[para1] = 280; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
                }
    //not connected
                
    else if (PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 6)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 2) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 2 lvl");
                            if (
    PlayerInfo[para1][pMember] == 16) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7) { ftext "ФБР"InviteSkin[para1] = 286;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 15)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pMember] != 0) return          SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 2 lvl");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 15) {  ftext "Армия: Авианосец"InviteSkin[para1] = 287;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }

                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 5) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7) { ftext "МЧС"InviteSkin[para1] = 70;  }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 7) { ftext "ЛКН"InviteSkin[para1] = 223; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }

                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 9) { ftext "Якудза"InviteSkin[para1] = 120;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));                            InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 4) {   ftext "Мэрия"InviteSkin[para1] = 57; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 4) { ftext "Casino Rich"InviteSkin[para1] = 171;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == && PlayerInfo[playerid][pRank] == 5) { ftext "SF NEWS"InviteSkin[para1] = 250; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pMember] == 10 && PlayerInfo[playerid][pRank] == 14)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 3) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 3 lvl");
                            if(
    PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pMember] == 10 && PlayerInfo[playerid][pRank] == 14) {  ftext "SFPD"InviteSkin[para1] = 286; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11 && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11 && PlayerInfo[playerid][pRank] == 7) { ftext "Инструкторы"InviteSkin[para1] = 59;  }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }

                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == 12 ||PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pRank] == 9) {  ftext "Biker"InviteSkin[para1] = 102;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 && PlayerInfo[playerid][pRank] == 10)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 && PlayerInfo[playerid][pRank] == 10) {  ftext "Русская мафия"InviteSkin[para1] = 108; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 14 && PlayerInfo[playerid][pRank] == 7)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 14 && PlayerInfo[playerid][pRank] == 7) {  ftext "Groove Street Gang"InviteSkin[para1] = 111; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15 && PlayerInfo[playerid][pRank] == 9) {  ftext "El coronos"InviteSkin[para1] = 106;  }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
    //not connected
                    
    }
                }
                else if (
    PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 16 && PlayerInfo[playerid][pRank] == 5)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 16 && PlayerInfo[playerid][pRank] == 5) { ftext "Ballas Gang"InviteSkin[para1] = 261; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
                }
    //not connected
                
    else if (PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17 && PlayerInfo[playerid][pRank] == 9) {  ftext "Rifa Gang"InviteSkin[para1] = 115; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else if (
    PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18 && PlayerInfo[playerid][pRank] == 9)
                {
                    if(
    IsPlayerConnected(para1))
                    {
                        if(
    para1 != INVALID_PLAYER_ID)
                        {
                            if(
    IsPlayerInAnyVehicle(para1)) return  SendClientMessage(playeridCOLOR_GREY"Игрок в машине!");
                            if (
    PlayerInfo[para1][pLevel] < 1) return   SendClientMessage(playeridCOLOR_GREY"Приём возможен с 1 lvl");
                            if (
    PlayerInfo[para1][pMember] != 0) return SendClientMessage(playeridCOLOR_GREY"Игрок уже где то состоит");
                            if(
    PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18 && PlayerInfo[playerid][pRank] == 9) {  ftext "Vagos Gang";InviteSkin[para1] = 174; }
                            else { return 
    1; }
                            
    GetPlayerName(para1giveplayersizeof(giveplayer));
                            
    GetPlayerName(playeridsendernamesizeof(sendername));
                            
    InviteOffer[para1] = PlayerInfo[playerid][pMember];
                            
    format(stringsizeof(string), "Вы пригласили %s присоеденится к %s."giveplayer,ftext);
                            
    SendClientMessage(playeridCOLOR_BLUEstring);
                            
    format(invite,sizeof(invite), "%s приглашает Вас присоедениться к %s\n- Вы согласны?"sendername,ftext);
                            
    ShowPlayerDialog(para1,76,DIALOG_STYLE_MSGBOX,"Приглашение",invite"Да""Нет");
                        }
                    }
    //not connected
                
    }
                else
                {
                    
    SendClientMessage(playeridCOLOR_GRAD1"Вы не уполномочены использовать эту команду!");
                }
                return 
    1;
            }
        } 
    ошибки
    PHP код:
    C:\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15661) : error 017undefined symbol "InviteSkin"
    C:\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15661) : warning 215expression has no effect
    C
    :\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15661) : error 001expected token";"but found "]"
    C:\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15661) : error 029: invalid expressionassumed zero
    C
    :\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15661) : fatal error 107too many error messages on one line

    Compilation aborted
    .Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase


    4 Errors

    ПОМОГИТЕ С МЕНЯ +СИК
  9. #9
    Заблокирован

    Аватар для Vadik_34

    Статус: Оффлайн
    Регистрация:18.02.2012
    Сообщений:197
    Репутация:15 [+/-] 
    PHP код:
    new InviteSkin[MAX_PLAYERS]; 
  10. 1 пользователь сказал cпасибо Vadik_34 за это полезное сообщение:

    Asdel (10.11.2012)

  11. #10
    Пользователь

    Аватар для Lobster

    Статус: Оффлайн
    Регистрация:10.07.2012
    Сообщений:15
    Репутация:0 [+/-] 
    PHP код:
    new InviteSkin[MAX_PLAYERS]; 
    PHP код:
    C:\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15666) : error 017undefined symbol "InviteOffer"
    C:\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15666) : warning 215expression has no effect
    C
    :\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15666) : error 001expected token";"but found "]"
    C:\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15666) : error 029: invalid expressionassumed zero
    C
    :\Documents and Settings\Администратор\Рабочий стол\моды\самп сервер\gamemodes\gf.pwn(15666) : fatal error 107too many error messages on one line

    Compilation aborted
    .Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase


    4 Errors

Страница 1 из 2 12 Последняя
  • К странице:

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения