Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 moze sadrzavati minimalno 6 a maximalno 24 znaka", "Registruj", "Izlaz");
- return 1;
- }
- else {
- strmid( PlayerInfo[ playerid ][ xLozinka ], inputtext, 0, strlen( inputtext ), 50);
- PlayerInfo[playerid][xVIPLevel] = 5;
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 23 ], inputtext );
- InputPassword[ playerid ] = true;
- SelectTextDraw( playerid, UGBOJA );
- }
- }
- }
Add Comment
Please, Sign In to add comment