Problem sa registracijom

Započeo Majkl Script, Avgust 27, 2017, 16:20:30 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Moja
Detaljan opis problema: Na registraciji sam stavio da kada igrac upise zeljenu sifru da moramo ponovo upise radi potvrde, sve lepo radi ali ako igrac ne upise nista i potrvdi priznace mu da je sifra tacna
Dio skripte
case DIALOG_REGISTER:
	    {
        if(!response)
		{
		SetTimerEx("kick",1000,false,"d",playerid);
		SCM(playerid,COLOR_RED,"REG - Odbili ste registraciju kikovani ste sa servera !");
		return 1;
        }
        if(response)
	    {
	    if(strlen(inputtext) < 6)
	    {
    	new string[200],string1[200],string2[200],string3[200],string4[200],string5[200],string6[200],string7[200],sve[700];
	    format(string,sizeof(string),"|__________________________________________________________________|");
	    format(string1,sizeof(string1),"\n\n"LBLUE"Dobro dosao na Balkania Roleplay: "BELA"%s",GetName(playerid));
	    format(string2,sizeof(string2),"\n\n"LBLUE"Vas account je "RED"nije pronadjen "LBLUE"U nasoj bazi podataka");
	    format(string3,sizeof(string3),"\n\n"RED"Ne mozete da stavite manje od 6 karaktera pri registraciji ,upisiti ponovo vasu lozinku !");
	    format(string4,sizeof(string4),"\n\n"LBLUE"Vas Balkania Roleplay tim !");
	    format(string5,sizeof(string5),"\n\n"LBLUE"Nas web sajt: "BELA"www.uskoro.com");
	    format(string6,sizeof(string6),"\n\n"LBLUE"[member=11464]COPYRIGHT[/member] Balkania Roleplay");
	    format(string7,sizeof(string7),"\n\n|__________________________________________________________________|");
	    format(sve,sizeof(sve),"%s%s%s%s%s%s%s",string,string1,string2,string3,string4,string5,string6,string7);
	    SPD(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,""LBLUE"Balkania "BELA"- "LBLUE"Registracija",sve,"Registracija","Izlaz");
	        SetPlayerCameraPos(playerid, 1359.8925, -1000.3610, 58.5364);
    SetPlayerCameraLookAt(playerid, 1359.8787, -1001.3605, 58.1914);
    InterpolateCameraPos(playerid, 1359.8925, -1000.3610, 58.5364, 1298.6709, -1864.4310, 18.8513,6000);
    InterpolateCameraLookAt(playerid,1359.8787, -1001.3605, 58.1914,1298.5546, -1865.4232, 18.7613,6000);
	    }

	      else if(strlen(inputtext) > 30)
	    {
    	new string[200],string1[200],string2[200],string3[200],string4[200],string5[200],string6[200],string7[200],sve[700];
	    format(string,sizeof(string),"|__________________________________________________________________|");
	    format(string1,sizeof(string1),"\n\n"LBLUE"Dobro dosao na Balkania Roleplay: "BELA"%s",GetName(playerid));
	    format(string2,sizeof(string2),"\n\n"LBLUE"Vas account je "RED"nije pronadjen "LBLUE"U nasoj bazi podataka");
	    format(string3,sizeof(string3),"\n\n"RED"Ne mozete da stavite vise od 30 karaktera pri registraciji ,upisiti ponovo vasu lozinku !");
	    format(string4,sizeof(string4),"\n\n"LBLUE"Vas Balkania Roleplay tim !");
	    format(string5,sizeof(string5),"\n\n"LBLUE"Nas web sajt: "BELA"www.uskoro.com");
	    format(string6,sizeof(string6),"\n\n"LBLUE"[member=11464]COPYRIGHT[/member] Balkania Roleplay");
	    format(string7,sizeof(string7),"\n\n|__________________________________________________________________|");
	    format(sve,sizeof(sve),"%s%s%s%s%s%s%s",string,string1,string2,string3,string4,string5,string6,string7);
	    SPD(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,""LBLUE"Balkania "BELA"- "LBLUE"Registracija",sve,"Registracija","Izlaz");
	        SetPlayerCameraPos(playerid, 1359.8925, -1000.3610, 58.5364);
    SetPlayerCameraLookAt(playerid, 1359.8787, -1001.3605, 58.1914);
    InterpolateCameraPos(playerid, 1359.8925, -1000.3610, 58.5364, 1298.6709, -1864.4310, 18.8513,6000);
    InterpolateCameraLookAt(playerid,1359.8787, -1001.3605, 58.1914,1298.5546, -1865.4232, 18.7613,6000);
	    }

	    else
	    {
   		new string[200],string1[200],string2[200],string3[200],string4[200],string5[200],string6[200],string7[200],sve[700];
	    format(string,sizeof(string),"|__________________________________________________________________|");
	    format(string1,sizeof(string1),"\n\n"LBLUE"Dobro dosao na Balkania Roleplay: "BELA"%s",GetName(playerid));
	    format(string2,sizeof(string2),"\n\n"LBLUE"Vas account je "BELA"pronadjen "LBLUE"U nasoj bazi podataka");
	    format(string3,sizeof(string3),"\n\n"LBLUE"Sada potvrdite vasu izabranu sifru, kako bi ste nastavili sa registracijom !");
	    format(string4,sizeof(string4),"\n\n"LBLUE"Vas Balkania Roleplay tim !");
	    format(string5,sizeof(string5),"\n\n"LBLUE"Nas web sajt: "BELA"www.uskoro.com");
	    format(string6,sizeof(string6),"\n\n"LBLUE"[member=11464]COPYRIGHT[/member] Balkania Roleplay");
	    format(string7,sizeof(string7),"\n\n|__________________________________________________________________|");
	    format(sve,sizeof(sve),"%s%s%s%s%s%s%s",string,string1,string2,string3,string4,string5,string6,string7);
	    SPD(playerid,DIALOG_LOGIN2,DIALOG_STYLE_INPUT,""RED"Balkania "BELA"- "LBLUE"Login Potvrda",sve,"Potvrdi","Izlaz");
	        SetPlayerCameraPos(playerid, 1359.8925, -1000.3610, 58.5364);
    SetPlayerCameraLookAt(playerid, 1359.8787, -1001.3605, 58.1914);
    InterpolateCameraPos(playerid, 1359.8925, -1000.3610, 58.5364, 1298.6709, -1864.4310, 18.8513,6000);
    InterpolateCameraLookAt(playerid,1359.8787, -1001.3605, 58.1914,1298.5546, -1865.4232, 18.7613,6000);
	    }

	    }
	    }



      case DIALOG_LOGIN2:
      {
	  if(!response)
	  {
	  SetTimerEx("kick",1000,false,"d",playerid);
      SCM(playerid,COLOR_RED,"- Odbili ste potvrdu logovanja, kikovani ste sa servera !");
	  return 1;
	  }
      if(response)
	  {
	   if(strcmp( inputtext, PlayerInfo[ playerid ][ pPass ], true ) == 0)
	   {

	new string2[50];
	format(string2, sizeof(string2), "%s", inputtext);
	PI[playerid][pPass] = string2;
        TextDrawShowForPlayer(playerid,Textdraw0);
	TextDrawShowForPlayer(playerid,Textdraw1);
    TextDrawShowForPlayer(playerid,Textdraw2);
    TextDrawShowForPlayer(playerid,Textdraw3);
    TextDrawShowForPlayer(playerid,Textdraw4);
    TextDrawShowForPlayer(playerid,Textdraw5);
    TextDrawShowForPlayer(playerid,Textdraw6);
    TextDrawShowForPlayer(playerid,Textdraw7);
    TextDrawShowForPlayer(playerid,Textdraw8);
    TextDrawShowForPlayer(playerid,Textdraw9);
    TextDrawShowForPlayer(playerid,Textdraw10);
    TextDrawShowForPlayer(playerid,Textdraw11);
    TextDrawShowForPlayer(playerid,Textdraw12);

	   SPD(playerid,DIALOG_GODINE,DSI,""LBLUE"Starost","Upisite koliko imate IC godina u polje ispod !\nNe stavlajte iznad 60 niti ispod 8 godina !\n\nUkoliko upisete bilo sta osim brojeva bicete odbijeni !","Izaberi","Odustani");
	   SCM(playerid,COLOR_LGREEN,"|---------------------------------------------------------------------------------|");
	   SCM(playerid,-1,"");
	   SCM(playerid,COLOR_LBLUE,"Upisite koliko imate IC godina , razmislite dobro o odgovoru !");
	   SCM(playerid,COLOR_LBLUE,"Ne stavlajte iznad 60 niti manje od 8 godina , u suprotno bicete odbijeni !");
	   SCM(playerid,-1,"");
	   SCM(playerid,COLOR_LGREEN,"|---------------------------------------------------------------------------------|");
    SetPlayerCameraPos(playerid, 1359.8925, -1000.3610, 58.5364);
    SetPlayerCameraLookAt(playerid, 1359.8787, -1001.3605, 58.1914);
    InterpolateCameraPos(playerid, 1359.8925, -1000.3610, 58.5364, 1298.6709, -1864.4310, 18.8513,6000);
    InterpolateCameraLookAt(playerid,1359.8787, -1001.3605, 58.1914,1298.5546, -1865.4232, 18.7613,6000);
	   }

	   else
	  {
	   SCM(playerid,COLOR_RED,""RED"WARNING: "BELA"Upisali ste pogresnu sifru i niste uspeli da potvrdite nalog kikovani ste, pokusajte opet !");
	   SetTimerEx("kick",1000,false,"d",playerid);
      }
	   }
	   }

Neke slike/video za lakse dobivanje pomoci(neobavezno): //