Advertisement
Guest User

Untitled

a guest
Aug 17th, 2012
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. {
  2. new loginstring[512];
  3. new loginname[64];
  4. Ovde mi izlazi error GetPlayerName(playerid,loginname,sizeof(loginname));
  5. i ovde nu izlazi 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);
  6. ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD ,"Pogresan password",loginstring,"Login","Exit");
  7. fclose(UserFile);
  8. gPlayerLogTries[playerid] += 1;
  9. if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
  10. return 1;
  11. }
  12.  
  13. OVDE JE CEO COD LEPO NAPISAN
  14.  
  15. {
  16. new loginstring[512];
  17. new loginname[64];
  18. GetPlayerName(playerid,loginname,sizeof(loginname));
  19. 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);
  20. ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD ,"Pogresan password",loginstring,"Login","Exit");
  21. fclose(UserFile);
  22. gPlayerLogTries[playerid] += 1;
  23. if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
  24. return 1;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement