Advertisement
Guest User

Untitled

a guest
Jun 30th, 2022
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. else if( dialogid == dialog_PREGISTER ) {
  2. if( !response ) return Kick(playerid);
  3. if( response )
  4. {
  5. if(udb_hash(inputtext) != PI[ playerid ][ xLozinka ])
  6. {
  7. strdel(DialogStrgEx, 0, sizeof(DialogStrgEx));
  8. //==============================================================
  9. format(DialogStrgEx, sizeof(DialogStrgEx),
  10. ""col_white"Dobrodosli na {13dceb}Balkan Premium RolePlay!\n\n\
  11. ||--------------------------------------------------------------||\n\n\
  12. -Vase Ime: "col_white"%s\n\n\
  13. {13dceb}-Account: "col_white"Vi imate registrovan account!\n\n\
  14. {13dceb}PONOVITE vas "col_white"password!\n\n\
  15. {13dceb}||--------------------------------------------------------------||\n\n\
  16. © BP Community",
  17. ImeIgraca(playerid));
  18.  
  19. SPD( playerid, dialog_PREGISTER, DSI, "{13dceb}REGISTRACIJA", DialogStrgEx, D_ODABERI, D_ODUSTANI );
  20. //==============================================================
  21. strdel(DialogStrgEx, 0, sizeof(DialogStrgEx));
  22. }
  23. else
  24. {
  25. ac_TogglePlayerSpectating(playerid, 0);
  26. SetPlayerVirtualWorld(playerid, playerid + 1);
  27. SetPlayerSkinEx( playerid, 26 ); //JA SAM OVAKO NAPRAVIO ALI NIJE HTELO! I DALJE JE CJ SKIN
  28. Papy_SetPlayerPos(playerid, 1928.7960,1376.4211,9.2578);
  29. SetPlayerFacingAngle(playerid, 1.0863);
  30. SetPlayerCameraPos(playerid,1928.442,1380.047,9.973);
  31. SetPlayerCameraLookAt(playerid,1928.542,1376.638,9.257);
  32. ClearChat( playerid, 64 );
  33. RegisterTDControlMain( playerid, true );
  34. SelectTextDraw( playerid, REGISTER_SELECT_TEXTDRAW );
  35. }
  36. return 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement