[Pomoc] password

Započeo DruzenjeVocko, Avgust 17, 2012, 02:20:30 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Balkan Forces Serbian (BFS)
Detaljan opis problema: Pisao sam tekst kad neko pogresi password sta da mu izadje i da idem f5 nece se comp neznam sta je ako mozete vi da mi pomognete pogledajte.
Dio skripte:      {
         new loginstring[512];
         new loginname[64];
         GetPlayerName(playerid,loginname,sizeof(loginname));
         format(loginstring,sizeof(loginstring),"-------------SERBIAN-------------\nUPOZORENJE:Upisali ste pogresan password\n\nImate jos nekoliko pokusaja da upisete password,inace te biti kikovani/nAko ste menjali password sa /changepass ,i pravili ste razmak,upisite samo prvi deo\n\nAko ste isli na neke druge servere, mi neodgovaramo za vas password zato sto je neko saznao\nAko ste nekome davali password ,isto tako neodgovaramo za vas account\n-------------ENGLISH-------------\nWARNING:You have typed an incorrect password\n\nYou have only several times to try to login with your password,\nIf u changed your password with /changepass command,and you used spaces\ntype only first part of changed password,\nAlso if u tell someone you password,we are not giving you a backup of your account.",loginname);
         ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD ,"Pogresan password",loginstring,"Login","Exit");
           fclose(UserFile);
           gPlayerLogTries[playerid] += 1;
           if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
           return 1;
      }
Neke slike/video za lakse dobivanje pomoci(neobavezno):

Vegas.

Daj linije u kodu ili slikaj te linije na kojima baca errore.

      {
         new loginstring[512];
         new loginname[64];
         OVDEGetPlayerName(playerid,loginname,sizeof(loginname));
         OVDEformat(loginstring,sizeof(loginstring),"-------------SERBIAN-------------\nUPOZORENJE:Upisali ste pogresan password\n\nImate jos nekoliko pokusaja da upisete password,inace te biti kikovani/nAko ste menjali password sa /changepass ,i pravili ste razmak,upisite samo prvi deo\n\nAko ste isli na neke druge servere, mi neodgovaramo za vas password zato sto je neko saznao\nAko ste nekome davali password ,isto tako neodgovaramo za vas account\n-------------ENGLISH-------------\nWARNING:You have typed an incorrect password\n\nYou have only several times to try to login with your password,\nIf u changed your password with /changepass command,and you used spaces\ntype only first part of changed password,\nAlso if u tell someone you password,we are not giving you a backup of your account.",loginname);
         ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD ,"Pogresan password",loginstring,"Login","Exit");
           fclose(UserFile);
           gPlayerLogTries[playerid] += 1;
           if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
           return 1;
      }


De lijepo u kodu daje [cod e], a ne ovak...

{
         new loginstring[512];
         new loginname[64];
         OVDEGetPlayerName(playerid,loginname,sizeof(loginname));
         OVDEformat(loginstring,sizeof(loginstring),"-------------SERBIAN-------------", "\nUPOZORENJE:Upisali ste pogresan password\n\nImate jos nekoliko pokusaja da upisete password,inace te biti kikovani/nAko ste menjali password sa /changepass ,i pravili ste razmak,upisite samo prvi deo\n\nAko ste isli na neke druge servere, mi neodgovaramo za vas password zato sto je neko saznao\nAko ste nekome davali password ,isto tako neodgovaramo za vas account\n-------------ENGLISH-------------\nWARNING:You have typed an incorrect password\n\nYou have only several times to try to login with your password,\nIf u changed your password with /changepass command,and you used spaces\ntype only first part of changed password,\nAlso if u tell someone you password,we are not giving you a backup of your account.",loginname);
         ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD ,"Pogresan password",loginstring,"Login","Exit");
           fclose(UserFile);
           gPlayerLogTries[playerid] += 1;
           if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
           return 1;
      }


To zamijeni sa ovim :D

Data64.dll | HTML & CSS | DEVELOPER





Opet mi izlazi ovde problem:

{
         new loginstring[512];
         new loginname[64];
        OVDE GetPlayerName(playerid,loginname,sizeof(loginname));
         OVDE format(loginstring,sizeof(loginstring),"-------------SERBIAN-------------", "\nUPOZORENJE:Upisali ste pogresan password\n\nImate jos nekoliko pokusaja da upisete password,inace te biti kikovani/nAko ste menjali password sa /changepass ,i pravili ste razmak,upisite samo prvi deo\n\nAko ste isli na neke druge servere, mi neodgovaramo za vas password zato sto je neko saznao\nAko ste nekome davali password ,isto tako neodgovaramo za vas account\n-------------ENGLISH-------------\nWARNING:You have typed an incorrect password\n\nYou have only several times to try to login with your password,\nIf u changed your password with /changepass command,and you used spaces\ntype only first part of changed password,\nAlso if u tell someone you password,we are not giving you a backup of your account.",loginname);
         ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD ,"Pogresan password",loginstring,"Login","Exit");
           fclose(UserFile);
           gPlayerLogTries[playerid] += 1;
           if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
           return 1;
      }

Slika:

Daj pod kod :@

Data64.dll | HTML & CSS | DEVELOPER







1. Ne spamaj :) Samo Definisi gore na pocetku gm-a SERBIAN i valjda ce da proradi nisam siguran :)

================================================
Radovi:
[FILTERSCRIPT] Jetpack
[FILTERSCRIPT] Glasanje
[MAP] NG Hospital
[MAP] NG Ostrvo

================================================
NouZI Gaming Loading: 30% BaySide
================================================
POTREBAN MAPPER ZA MAPANJE ENTERIJERA
================================================


   {
         new loginstring[600];
         new loginstring1[600];
         new loginstring2[1200];
         format(loginstring,sizeof(loginstring),"-------------SERBIAN-------------\nUPOZORENJE:Upisali ste pogresan password\n\nImate jos nekoliko pokusaja da upisete password,inace te biti kikovani/nAko ste menjali password sa /changepass ,i pravili ste razmak,upisite samo prvi deo\n\nAko ste isli na neke druge servere, mi neodgovaramo za vas password zato sto je neko saznao\nAko ste nekome davali password ,isto tako neodgovaramo za vas account");
         format(loginstring1,sizeof(loginstring1),"-------------ENGLISH-------------\nWARNING:You have typed an incorrect password\n\nYou have only several times to try to login with your password,\nIf u changed your password with /changepass command,and you used spaces\ntype only first part of changed password,\nAlso if u tell someone you password,we are not giving you a backup of your account.");
         format(loginstring2,sizeof(loginstring2),"%s\n%s",loginstring,loginstring1);
ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD ,"Pogresan password",loginstring2,"Login","Exit");
         fclose(UserFile);
         gPlayerLogTries[playerid] += 1;
         if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
           return 1;
      }
Poslednja Izmena: Avgust 17, 2012, 21:58:46 POSLE PODNE od [DV]Teske

  {
         new loginstring[600];
         new loginstring1[600];
         new loginstring2[1200];
         format(loginstring,sizeof(loginstring),"-------------SERBIAN-------------\nUPOZORENJE:Upisali ste pogresan password\n\nImate jos nekoliko pokusaja da upisete password,inace te biti kikovani/nAko ste menjali password sa /changepass ,i pravili ste razmak,upisite samo prvi deo\n\nAko ste isli na neke druge servere, mi neodgovaramo za vas password zato sto je neko saznao\nAko ste nekome davali password ,isto tako neodgovaramo za vas account");
         format(loginstring1,sizeof(loginstring1),"-------------ENGLISH-------------\nWARNING:You have typed an incorrect password\n\nYou have only several times to try to login with your password,\nIf u changed your password with /changepass command,and you used spaces\ntype only first part of changed password,\nAlso if u tell someone you password,we are not giving you a backup of your account.");
         format(loginstring2,sizeof(loginstring2),"%s\n%s",loginstring,loginstring1);
ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD ,"Pogresan password",loginstring2,"Login","Exit");
         fclose(UserFile);
         gPlayerLogTries[playerid] += 1;
         if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
           return 1; }

I mi sad trebamo da gledamo u pasulj sta tebi ne valja?

I citaj pravila..
ODSUTAN