Question

Всем привет,помогите пожалуйста!

Ошибки:

C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(118) : warning 219: local variable "rows" shadows a variable at a preceding level
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(142) : warning 217: loose indentation
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(324) : warning 217: loose indentation
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(331) : warning 217: loose indentation
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(331) : error 014: invalid statement; not in switch
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(342) : warning 217: loose indentation
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(343) : warning 217: loose indentation
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(355 -- 358) : error 001: expected token: ",", but found "-string-"
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(358) : warning 217: loose indentation
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(358) : warning 215: expression has no effect
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(358 -- 359) : warning 215: expression has no effect
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(358 -- 359) : warning 215: expression has no effect
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(359) : error 001: expected token: ";", but found ")"
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(359) : warning 217: loose indentation
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(359) : error 029: invalid expression, assumed zero
C:\Users\asus\OneDrive\Рабочий стол\Project 31 December\Milka-RolePlay\gamemodes\new.pwn(359) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
Код в местах всех ошибок:

 case DLG_REGEMAIL: //331 строка
      {
           if(!strlen(inputtext))
           {
              SPD(playerid, DLG_REGEMAIL, DIALOG_STYLE_INPUT, "{ff9300}Ðåãèñòðàöèÿ{FFFFFFF}Ââîä email",
               "{FFFFFF}Äëÿ áåçîïàñíîñòè âàøåãî àêêàóíòà ââåäèòå ñâîé email è íàæìèòå\n\
                 Åñëè âû ïîòåðÿåòå äîñòóï ê àêêàóíòó, òî âû ñìîæåòå âîññòàíîâèòü åãî ÷åðåç Email\n\
                 Ââåäèòå Email â ïîëå íèæå è íàæìèòå \"Äàëåå\"",
              "Äàëåå""");
              return SCM(playerid, COLOR_RED, "[Îøèáêà] {FFFFFFF}Ââåäèòå email â ïîëå íèæå è íàæìèòå \"Äàëåå\"");
           }
        new regex:rg_emailcheck = regex_new("^[a-zA-Z0=9](1,)$");
           if(regex_check(inputtext, rg_emailcheck))
           {
              strmid(player_info[playerid][PASSWORD], inputtext, 0, strlen(inputtext), 32);
              SPD(playerid, DLG_REGEMAIL, DIALOG_STYLE_INPUT, "{ff9300}Ðåãèñòðàöèÿ{FFFFFFF} Ââîä Email",
                 "{FFFFFF}Äëÿ áåçîïàñíîñòè âàøåãî àêêàóíòà ââåäèòå ñâîé email è íàæìèòå\n\
                 Åñëè âû ïîòåðÿåòå äîñòóï ê àêêàóíòó, òî âû ñìîæåòå âîññòàíîâèòü åãî ÷åðåç Email\n\
                 Ââåäèòå Email â ïîëå íèæå è íàæìèòå \"Äàëåå\"",
              "Äàëåå""Ïðîïóñòèòü");
              return SCM(playerid, COLOR_RED, "[Îøèáêà] {FFFFFFF}Ââåäèòå email â ïîëå íèæå è íàæìèòå \"Äàëåå\"");
           }
           else
           {
              SPD(playerid, DLG_REGEMAIL, DIALOG_STYLE_INPUT, "{ff9300}Ðåãèñòðàöèÿ{FFFFFFF}Ââîä email"
               "{FFFFFF}Äëÿ áåçîïàñíîñòè âàøåãî àêêàóíòà ââåäèòå ñâîé email è íàæìèòå\n\
                 Åñëè âû ïîòåðÿåòå äîñòóï ê àêêàóíòó, òî âû ñìîæåòå âîññòàíîâèòü åãî ÷åðåç Email\n\
                 Ââåäèòå Email â ïîëå íèæå è íàæìèòå \"Äàëåå\"",
              "Äàëåå""Ïðîïóñòèòü");
              return SCM(playerid, COLOR_RED, "[Îøèáêà] {FFFFFFF}Ââåäèòå email â ïîëå íèæå è íàæìèòå \"Äàëåå\"");
           }
           regex_delete(rg_emailcheck);
        }

 

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet

This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By def
      arizona.pwn(23374) : error 012: invalid function call, not a valid address
      arizona.pwn(23374) : error 001: expected token: ";", but found ")"
      arizona.pwn(23374) : error 029: invalid expression, assumed zero
      arizona.pwn(23374) : fatal error 107: too many error messages on one line
      жалуется на данную строчку:
       
      %s{cccccc}Для продолжения нажмите 'Далее'",PN(playerid),playerid,ItemsInfo[itemid][ItemName2],hours,cost*hours,Inventory[playerid][2][slot], AksColorName(Inventory[playerid][4][slot]), Inventory[playerid][5][slot] ? GetNameStripe(Inventory[playerid][5][slot]) : "");