Guest User

Untitled

a guest
Apr 14th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. else if( dialogid == dialog_REGISTER ) {
  2. if( !response ) return 1;
  3. if( response ) {
  4. if( strlen( inputtext ) < 6 || strlen(inputtext) > 20 ) {
  5. SPD( playerid, dialog_REGISTER, DSI, "Registracija", "Password moze sadrzavati minimalno 6 a maximalno 24 znaka", "Registruj", "Izlaz");
  6. return 1;
  7. }
  8. else {
  9. strmid( PlayerInfo[ playerid ][ xLozinka ], inputtext, 0, strlen( inputtext ), 50);
  10. PlayerInfo[playerid][xVIPLevel] = 5;
  11. PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 23 ], inputtext );
  12. InputPassword[ playerid ] = true;
  13. SelectTextDraw( playerid, UGBOJA );
  14. }
  15. }
  16. }
Add Comment
Please, Sign In to add comment