Registertd

Započeo Jesteibice, Jul 13, 2020, 20:25:08 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Kada pritisnem na dugme registracija iskoci dialog za biranje pola, 2 puta sam proveravao sve sam ok uradio nije mi jasno sta moze biti
Deo skripte: TextDraw[pawn]      RegisterTDMain[playerid][10] = CreatePlayerTextDraw(playerid, 285.000061, 301.585144, "REGISTRACIJA");
      PlayerTextDrawLetterSize(playerid, RegisterTDMain[playerid][10], 0.312666, 1.342814);
      PlayerTextDrawAlignment(playerid, RegisterTDMain[playerid][10], 1);
      PlayerTextDrawColor(playerid, RegisterTDMain[playerid][10], -1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][10], 1);
      PlayerTextDrawSetOutline(playerid, RegisterTDMain[playerid][10], 0);
      PlayerTextDrawBackgroundColor(playerid, RegisterTDMain[playerid][10], 255);
      PlayerTextDrawFont(playerid, RegisterTDMain[playerid][10], 3);
      PlayerTextDrawSetProportional(playerid, RegisterTDMain[playerid][10], 1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][10], 1);
      PlayerTextDrawSetSelectable(playerid, RegisterTDMain[playerid][10], true);[/pawn]
Deo kad pritisne td
[pawn]
      if( playertextid == RegisterTDMain[ playerid ][ 10 ] ) { //Registracija
            if( InputPassword[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( ChoseCountry[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( InputAge[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( InputMail[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
          if( RegSex[ playerid ] == 0 ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );[/pawn]

Ne izbacuje nijednu gresku od ovih!
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): Vaš odgovor
Slika/video ingame problema(obavezno ako je ingame problem): link slike

dobro al sta imas ispod ovoga, znaci ako si sve uradio kako treba, valjda trebas imat ispod nesto tipa spremaju se ti podaci i kreira ti se acc, daj taj dio koda znaci ispod ovoga sve


Pa ocito da ne krece, daj taj dio koda, ako neces onda to dobro pretumbaj i pogledaj u dijalogu koji ti je vezan za taj textdraw gdje je greska

Citat: Rizzzla poslato Jul 13, 2020, 21:10:01 POSLE PODNE
Pa ocito da ne krece, daj taj dio koda, ako neces onda to dobro pretumbaj i pogledaj u dijalogu koji ti je vezan za taj textdraw gdje je greska

Evo ti ali nevredi ti ovo nista tutorial ne krece zato sto dugme registracija ne radi, a kao sto vidis gore lepo je stavljeno koji td se koristi.
[pawn]   CancelSelectTextDraw( playerid );
         IgracSeRegistruje[ playerid ] = false;
         RegisterTDControlMain( playerid, false );
         PlayerInfo[ playerid ][ xRegistrovan ] = 1;
         PlayerInfo[ playerid ][ xPocetniTut ] = 0;
         PlayerInfo[ playerid ][ xSpawn ] = SetRandomSpawn( playerid );
         PlayerInfo[ playerid ][ xLevel ] = ServerInfo[ PocetniLevel ];
         new datum[ 64 ]; new year, month,day;
         getdate( year, month, day );
         new tmphour, tmpminute, tmpsecond;
         gettimeEx( tmphour, tmpminute, tmpsecond );
         FixHour( tmphour );
         tmphour = shifthour;
            format( datum, sizeof( datum ), "%02d/%02d/%d - %d/%d/%d", day, month, year, tmphour, tmpminute, tmpsecond );
          strmid( PlayerInfo[ playerid ][ xLastLogin ], datum, 0, strlen( datum ), 64 );
         SetPlayerScore( playerid, PlayerInfo[ playerid ][ xLevel ] );
         DajIgracuNovac( playerid, ServerInfo[ PocetniNovaca ] );
         SavePlayer( playerid );
         SetPlayerSkin( playerid, PlayerInfo[ playerid ][ xSkin ] );
         Info( playerid, "Uspesno ste se registrovali na Zenga Roleplay, sledi kratak tutorial." );
            TogglePlayerSpectating( playerid, true );[/pawn]

Obzirom da kazes da ne radi register moguce da ti nije aktivan odabir za taj td

[pawn]PlayerTextDrawSetSelectable(playerid, RegisterTDMain[playerid][10], 1);[/pawn]

Citat: Rizzzla poslato Jul 14, 2020, 18:11:53 POSLE PODNE
Obzirom da kazes da ne radi register moguce da ti nije aktivan odabir za taj td

[pawn]PlayerTextDrawSetSelectable(playerid, RegisterTDMain[playerid][10], 1);[/pawn]

Selectable je ostali tdovi (lozinka, pol idt..) je uradjeno po istom principu i radi.
Poslednja Izmena: Jul 14, 2020, 20:39:57 POSLE PODNE od Jesteibice

Postavi onaj deo iznad ovog sto sam pokazao , mozda si tu negde pogresio :)
[pawn]      if( playertextid == RegisterTDMain[ playerid ][ 10 ] ) { //Registracija
            if( InputPassword[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( ChoseCountry[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( InputAge[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( InputMail[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
          if( RegSex[ playerid ] == 0 ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );[/pawn]

Citat: Ƭ H Σ Ʋ 1 ∏ ∏ Ψ _ poslato Jul 14, 2020, 22:18:00 POSLE PODNE
Postavi onaj deo iznad ovog sto sam pokazao , mozda si tu negde pogresio :)
[pawn]      if( playertextid == RegisterTDMain[ playerid ][ 10 ] ) { //Registracija
            if( InputPassword[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( ChoseCountry[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( InputAge[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( InputMail[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
          if( RegSex[ playerid ] == 0 ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );[/pawn]
TextDraws
[pawn]
RegisterTDMain[playerid][10] = CreatePlayerTextDraw(playerid, 285.000061, 301.585144, "REGISTRACIJA");
      PlayerTextDrawLetterSize(playerid, RegisterTDMain[playerid][10], 0.312666, 1.342814);
      PlayerTextDrawAlignment(playerid, RegisterTDMain[playerid][10], 1);
      PlayerTextDrawColor(playerid, RegisterTDMain[playerid][10], -1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][10], 1);
      PlayerTextDrawSetOutline(playerid, RegisterTDMain[playerid][10], 0);
      PlayerTextDrawBackgroundColor(playerid, RegisterTDMain[playerid][10], 255);
      PlayerTextDrawFont(playerid, RegisterTDMain[playerid][10], 3);
      PlayerTextDrawSetProportional(playerid, RegisterTDMain[playerid][10], 1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][10], 1);
      PlayerTextDrawSetSelectable(playerid, RegisterTDMain[playerid][10], true);

      RegisterTDMain[playerid][11] = CreatePlayerTextDraw(playerid, 295.000000, 180.874053, "PASSWORD");
      PlayerTextDrawLetterSize(playerid, RegisterTDMain[playerid][11], 0.202333, 0.807703);
      PlayerTextDrawAlignment(playerid, RegisterTDMain[playerid][11], 1);
      PlayerTextDrawColor(playerid, RegisterTDMain[playerid][11], -1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][11], 1);
      PlayerTextDrawSetOutline(playerid, RegisterTDMain[playerid][11], 0);
      PlayerTextDrawBackgroundColor(playerid, RegisterTDMain[playerid][11], 255);
      PlayerTextDrawFont(playerid, RegisterTDMain[playerid][11], 2);
      PlayerTextDrawSetProportional(playerid, RegisterTDMain[playerid][11], 1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][11], 1);
      PlayerTextDrawSetSelectable(playerid, RegisterTDMain[playerid][11], true);

      RegisterTDMain[playerid][12] = CreatePlayerTextDraw(playerid, 303.999969, 202.444427, "e-mail");
      PlayerTextDrawLetterSize(playerid, RegisterTDMain[playerid][12], 0.202333, 0.807703);
      PlayerTextDrawAlignment(playerid, RegisterTDMain[playerid][12], 1);
      PlayerTextDrawColor(playerid, RegisterTDMain[playerid][12], -1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][12], 1);
      PlayerTextDrawSetOutline(playerid, RegisterTDMain[playerid][12], 0);
      PlayerTextDrawBackgroundColor(playerid, RegisterTDMain[playerid][12], 255);
      PlayerTextDrawFont(playerid, RegisterTDMain[playerid][12], 2);
      PlayerTextDrawSetProportional(playerid, RegisterTDMain[playerid][12], 1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][12], 1);
      PlayerTextDrawSetSelectable(playerid, RegisterTDMain[playerid][12], true);

      RegisterTDMain[playerid][13] = CreatePlayerTextDraw(playerid, 300.000000, 226.503692, "DRZAVA");
      PlayerTextDrawLetterSize(playerid, RegisterTDMain[playerid][13], 0.202333, 0.807703);
      PlayerTextDrawAlignment(playerid, RegisterTDMain[playerid][13], 1);
      PlayerTextDrawColor(playerid, RegisterTDMain[playerid][13], -1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][13], 1);
      PlayerTextDrawSetOutline(playerid, RegisterTDMain[playerid][13], 0);
      PlayerTextDrawBackgroundColor(playerid, RegisterTDMain[playerid][13], 255);
      PlayerTextDrawFont(playerid, RegisterTDMain[playerid][13], 2);
      PlayerTextDrawSetProportional(playerid, RegisterTDMain[playerid][13], 1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][13], 1);
      PlayerTextDrawSetSelectable(playerid, RegisterTDMain[playerid][13], true);

      RegisterTDMain[playerid][14] = CreatePlayerTextDraw(playerid, 301.999938, 249.733306, "GODINE");
      PlayerTextDrawLetterSize(playerid, RegisterTDMain[playerid][14], 0.202333, 0.807703);
      PlayerTextDrawAlignment(playerid, RegisterTDMain[playerid][14], 1);
      PlayerTextDrawColor(playerid, RegisterTDMain[playerid][14], -1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][14], 1);
      PlayerTextDrawSetOutline(playerid, RegisterTDMain[playerid][14], 0);
      PlayerTextDrawBackgroundColor(playerid, RegisterTDMain[playerid][14], 255);
      PlayerTextDrawFont(playerid, RegisterTDMain[playerid][14], 2);
      PlayerTextDrawSetProportional(playerid, RegisterTDMain[playerid][14], 1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][14], 1);
      PlayerTextDrawSetSelectable(playerid, RegisterTDMain[playerid][14], true);

      RegisterTDMain[playerid][15] = CreatePlayerTextDraw(playerid, 307.999969, 271.718536, "POL");
      PlayerTextDrawLetterSize(playerid, RegisterTDMain[playerid][15], 0.202333, 0.807703);
      PlayerTextDrawAlignment(playerid, RegisterTDMain[playerid][15], 1);
      PlayerTextDrawColor(playerid, RegisterTDMain[playerid][15], -1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][15], 1);
      PlayerTextDrawSetOutline(playerid, RegisterTDMain[playerid][15], 0);
      PlayerTextDrawBackgroundColor(playerid, RegisterTDMain[playerid][15], 255);
      PlayerTextDrawFont(playerid, RegisterTDMain[playerid][15], 2);
      PlayerTextDrawSetProportional(playerid, RegisterTDMain[playerid][15], 1);
      PlayerTextDrawSetShadow(playerid, RegisterTDMain[playerid][15], 1);
      PlayerTextDrawSetSelectable(playerid, RegisterTDMain[playerid][15], true);[/pawn]
Evo sve od register
[pawn]
      if( playertextid == RegisterTDMain[ playerid ][ 11 ] ) { //Lozinka
          SPD( playerid, dialog_REGISTER, DSI, ""col_srvboja"REG - "col_white"Lozinka", "Unesite zeljenu lozinku kako bi nastavili sa registracijom ( min. 6 znakova max. 20 znakova ):", D_ODABERI, D_ODUSTANI );
          return true;
      }

      if( playertextid == RegisterTDMain[ playerid ][ 13 ] ) { //Drzava
            SPD( playerid, dialog_COUNTRY, DSL, ""col_srvboja"REG - "col_white"Drzava  "col_srvboja"! Biras sa Strelicama na Tastaturi! ", "Srbija\nHrvatska\nMakedonija\nCrna Gora\nBosna i Hercegovina\nOstalo", D_ODABERI, D_ODUSTANI );
            return true;
      }

      if( playertextid == RegisterTDMain[ playerid ][ 14 ] ) { //Godine
            SPD( playerid, dialog_AGE, DSI, ""col_srvboja"REG - "col_white"Godine", "U prazni prostor ispod unesite vase godine\nMinimalno 12 maksimalno 70:", D_ODABERI, D_ODUSTANI );
            return true;
      }

      if( playertextid == RegisterTDMain[ playerid ][ 12 ] ) { //Email
            SPD(playerid, dialog_MAIL, DSI, ""col_srvboja"REG - "col_white"Email", "U prazan prostor ispod unesite svoj e-mail.\nNapomena: Bez ne tocnog mail-a nema vracanja passworda:", D_ODABERI, D_ODUSTANI );
         return true;
      }
      if( playertextid == RegisterTDMain[ playerid ][ 15 ] ) { //Musko
            SPD(playerid, dialog_BIRAPOL, DSMSG, ""col_srvboja"REG - "col_white"Pol","Odaberi Pol","Musko","Zensko");
            return true;
      }
      if( playertextid == RegisterTDMain[ playerid ][ 10 ] ) { //Registracija
            if( InputPassword[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( ChoseCountry[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( InputAge[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
         if( InputMail[ playerid ] == false ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );
          if( RegSex[ playerid ] == 0 ) return GRESKA( playerid, "Prvo moras popuniti gornji deo registracije." );

         CancelSelectTextDraw( playerid );
         IgracSeRegistruje[ playerid ] = false;
         RegisterTDControlMain( playerid, false );
         PlayerInfo[ playerid ][ xRegistrovan ] = 1;
         PlayerInfo[ playerid ][ xPocetniTut ] = 0;
         PlayerInfo[ playerid ][ xSpawn ] = SetRandomSpawn( playerid );
         PlayerInfo[ playerid ][ xLevel ] = ServerInfo[ PocetniLevel ];
         new datum[ 64 ]; new year, month,day;
         getdate( year, month, day );
         new tmphour, tmpminute, tmpsecond;
         gettimeEx( tmphour, tmpminute, tmpsecond );
         FixHour( tmphour );
         tmphour = shifthour;
            format( datum, sizeof( datum ), "%02d/%02d/%d - %d/%d/%d", day, month, year, tmphour, tmpminute, tmpsecond );
          strmid( PlayerInfo[ playerid ][ xLastLogin ], datum, 0, strlen( datum ), 64 );
         SetPlayerScore( playerid, PlayerInfo[ playerid ][ xLevel ] );
         DajIgracuNovac( playerid, ServerInfo[ PocetniNovaca ] );
         SavePlayer( playerid );
         SetPlayerSkin( playerid, PlayerInfo[ playerid ][ xSkin ] );
         Info( playerid, "Uspesno ste se registrovali na Zenga Roleplay, sledi kratak tutorial." );
            TogglePlayerSpectating( playerid, true );

         InterpolateCameraPos( playerid, 1677.1746, -1303.1085, 481.0584, 1452.0430, -1314.4868, 176.0983, 50000, CAMERA_MOVE);
         InterpolateCameraLookAt( playerid, 1676.1766, -1312.1057, 479.6893, 1451.0450, -1314.4979, 174.7492, 50000, CAMERA_MOVE);
         SetPlayerInterior( playerid, 0 );
         SetPlayerVirtualWorld( playerid, 1 );
         Traxx_SetPlayerPos( playerid, 1463.7633,-1041.4501,26.8281);
         SendClientMessage( playerid, SIVA," ");
         SendClientMessage( playerid, SIVA," ");
         SendClientMessage( playerid, SIVA," ");
         SendClientMessage( playerid, SIVA," ");
         SendClientMessage( playerid, SIVA," ");
         SendClientMessage( playerid, SIVA," ");
         SendClientMessage( playerid, CRVENA, "~ DOBRO DOSLI NA Zenga Roleplay ~");
         SendClientMessage( playerid, SIVA," ");
           SendClientMessage( playerid, BELA, "Pre svega zelimo vam pozeleti dobrodoslicu na nas server.");
          SendClientMessage( playerid, BELA, "Ovo je tutorijal u kojem cemo vam pokazati najvaznije lokacije na serveru.");
          SendClientMessage( playerid, BELA, "Objasnicemo vam kako uspesno zapoceti igru i uciniti je zanimljivom.");
          SendClientMessage( playerid, BELA, "Na pocetku imate 500$ kod sebe, koje ce vam pomoci.");
          TimerTutorial[ playerid ] = SetTimerEx( "PocetniTut", 25000, false, "ii", playerid, 1 );
          PocetniTutorialStartovan[ playerid ] = true;

         TimerTutorial[ playerid ] = SetTimerEx( "PocetniTut", 13000, false, "ii", playerid, 1 );
          PocetniTutorialStartovan[ playerid ] = true;
          RandomLoginMuzika( playerid );

          return true;
      }

[/pawn]
Evo i dialozi
[pawn]
else if( dialogid == dialog_REGISTER ) {
      if( !response ) return 1;
      if( response ) {
         if( strlen( inputtext ) < 6 || strlen(inputtext) > 20 ) {
             SPD( playerid, dialog_REGISTER, DSI, "Registracija: Password", "Unesite zeljenu lozinku kako bi nastavili sa registracijom ( min. 6 znakova max. 20 znakova ):", D_ODABERI, D_ODUSTANI);
            return 1;
         }
         else {
            strmid( PlayerInfo[ playerid ][ xLozinka ], inputtext, 0, strlen( inputtext ), 50);
             PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 11 ], inputtext );
            InputPassword[ playerid ] = true;
            SelectTextDraw( playerid, 0xFFFFFFFF);
          }
      }
   }
   else if( dialogid == dialog_COUNTRY ) {
       if( !response ) return 1;
      if( response ) {
          switch( listitem ) {
             case 0: {
                 PlayerInfo[ playerid ][ xDrzava ] = 2;
                PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 13 ], "Srbija" );
                ChoseCountry[ playerid ] = true;
                SelectTextDraw( playerid, 0xFFFFFFFF);
             }
             case 1: {
                 PlayerInfo[ playerid ][ xDrzava ] = 1;
                PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 13 ], "Hrvatska" );
                ChoseCountry[ playerid ] = true;
                SelectTextDraw( playerid, 0xFFFFFFFF);
             }
             case 2: {
                 PlayerInfo[ playerid ][ xDrzava ] = 3;
                PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 13 ], "Makedonija" );
                ChoseCountry[ playerid ] = true;
                SelectTextDraw( playerid, 0xFFFFFFFF);
             }
             case 3: {
                 PlayerInfo[ playerid ][ xDrzava ] = 4;
                PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 13 ], "Crna_Gora" );
                ChoseCountry[ playerid ] = true;
                SelectTextDraw( playerid, 0xFFFFFFFF);
             }
             case 4: {
                 PlayerInfo[ playerid ][ xDrzava ] = 5;
                PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 13 ], "Bosna_i_Hercegovina" );
                ChoseCountry[ playerid ] = true;
                SelectTextDraw( playerid, 0xFFFFFFFF);
             }
             case 5: {
                 PlayerInfo[ playerid ][ xDrzava ] = 6;
                PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 13 ], "Ostalo" );
                ChoseCountry[ playerid ] = true;
                SelectTextDraw( playerid, 0xFFFFFFFF);
             }
         }
      }
   }
   else if( dialogid == dialog_BIRAPOL ){
       if(response) {
       PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 15 ], "Musko" );
       RegSex[ playerid ] = 1;
       PlayerInfo[ playerid ][ xPol ] = 1;
       PlayerInfo[ playerid ][ xSkin ] = MaleSkinIDs[ 0 ][ 0 ];
       }
       if(!response) {
       RegSex[ playerid ] = 2;
       PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 15 ], "Zensko" );
       PlayerInfo[ playerid ][ xPol ] = 2;
       PlayerInfo[ playerid ][ xSkin ] = FemaleSkinIDs[ 0 ][ 0 ];
        }
   }
   else if( dialogid == dialog_AGE ) {
      if( !response ) return 1;
      if( response ) {
          new age = strval( inputtext );
         if( age < 12 || age > 70 ) return SPD( playerid, dialog_AGE, DSI, "Registracija: Godine", "U prazni prostor ispod unesite vase godine\nMinimalno 12 maximalno 70:", D_ODABERI, D_ODUSTANI );
         new agestr[ 128 ]; format( agestr, sizeof( agestr ), "Godina:_%s", inputtext );
            PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 14 ], agestr );
         PlayerInfo[ playerid ][ xGodine ] = age;
         InputAge[ playerid ] = true;
          SelectTextDraw( playerid, 0xFFFFFFFF);

      }
   }
   else if( dialogid == dialog_MAIL ) {
      if( !response ) return 1;
      if( response ) {
          new mailstring = strfind( inputtext, "@", true ), tackastring = strfind( inputtext, ".", true );
           if( mailstring == -1 || tackastring == -1 ) {
              SPD(playerid, dialog_MAIL, DSI, "Registracija: Email", "U prazan prostor ispod unesite svoj e-mail.\nNapomena: Bez ne tocnog mail-a nema vracanja passworda:", D_ODABERI, D_ODUSTANI );
         }
         else {
            strmid( PlayerInfo[ playerid ][ xEmail ], inputtext, 0, strlen( inputtext ), 34 );
            PlayerTextDrawSetString( playerid, RegisterTDMain[ playerid ][ 12 ], inputtext );
            InputMail[ playerid ] = true;
               SelectTextDraw( playerid, 0xFFFFFFFF);

         }
      }
   }[/pawn]