Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if( dialogid == dialog_PREGISTER ) {
- if( !response ) return Kick(playerid);
- if( response )
- {
- if(udb_hash(inputtext) != PI[ playerid ][ xLozinka ])
- {
- strdel(DialogStrgEx, 0, sizeof(DialogStrgEx));
- //==============================================================
- format(DialogStrgEx, sizeof(DialogStrgEx),
- ""col_white"Dobrodosli na {13dceb}Balkan Premium RolePlay!\n\n\
- ||--------------------------------------------------------------||\n\n\
- -Vase Ime: "col_white"%s\n\n\
- {13dceb}-Account: "col_white"Vi imate registrovan account!\n\n\
- {13dceb}PONOVITE vas "col_white"password!\n\n\
- {13dceb}||--------------------------------------------------------------||\n\n\
- © BP Community",
- ImeIgraca(playerid));
- SPD( playerid, dialog_PREGISTER, DSI, "{13dceb}REGISTRACIJA", DialogStrgEx, D_ODABERI, D_ODUSTANI );
- //==============================================================
- strdel(DialogStrgEx, 0, sizeof(DialogStrgEx));
- }
- else
- {
- ac_TogglePlayerSpectating(playerid, 0);
- SetPlayerVirtualWorld(playerid, playerid + 1);
- SetPlayerSkinEx( playerid, 26 ); //JA SAM OVAKO NAPRAVIO ALI NIJE HTELO! I DALJE JE CJ SKIN
- Papy_SetPlayerPos(playerid, 1928.7960,1376.4211,9.2578);
- SetPlayerFacingAngle(playerid, 1.0863);
- SetPlayerCameraPos(playerid,1928.442,1380.047,9.973);
- SetPlayerCameraLookAt(playerid,1928.542,1376.638,9.257);
- ClearChat( playerid, 64 );
- RegisterTDControlMain( playerid, true );
- SelectTextDraw( playerid, REGISTER_SELECT_TEXTDRAW );
- }
- return 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement