Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( playertextid == RegisterTD[ playerid ][ 0 ] ) {
- SPD(playerid,dialog_REGISTER, DSI, "Odabir lozinke", "{0070A6}==============================================================\n\n{C0C0C0}Molimo vas da odaberete vasu lozinku sa kojom cete pristupati vasem nalogu.\nLozinka ne moze biti manja od 6 i veca od 24 karaktera!\n\n{0070A6}==============================================================", "Uredu", "Odustani");
- return true;
- }
- if( playertextid == RegisterTD[ playerid ][ 2 ] ) { // pol
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], "Musko");
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], MaleSkinIDs[ 0 ][ 0 ] );
- for( new i = 7; i < 14; i ++) {//counting2 ok
- PlayerTextDrawShow( playerid, RegisterTD[ playerid ][ i ] );
- }
- BiraPol[ playerid ] = 1;
- BiraSkin[ playerid ] = 0;
- return true;
- }
- if( playertextid == RegisterTD[ playerid ][ 9 ] ) { // desno
- if( BiraPol[ playerid ] > 0 ) {
- if( BiraPol[ playerid ] == 1 ) {
- BiraPol[ playerid ] = 2;
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], "Zensko");
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], FemaleSkinIDs[ 0 ][ 0 ] );
- }
- else if( BiraPol[ playerid ] == 2 ) {
- BiraPol[ playerid ] = 1;
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], "Musko");
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], MaleSkinIDs[ 0 ][ 0 ] );
- }
- }
- if( BiraSkin[ playerid ] > 0 ) {
- if( RegSex[ playerid ] == 1 ) { // musko
- if( BiraSkin[ playerid ] == 4 ) BiraSkin[ playerid ] = 0;
- BiraSkin[ playerid ]++;
- PlayerInfo[ playerid ][ xSkin ] = MaleSkinIDs[ BiraSkin[ playerid ]-1 ][ 0 ];
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], MaleSkinIDs[ BiraSkin[ playerid ]-1 ][ 0 ] );
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], MaleSkinNames[ BiraSkin[ playerid ]-1 ][ 0 ] );
- }
- else if( RegSex[ playerid ] == 2 ) { // zensko
- if( BiraSkin[ playerid ] == 4 ) BiraSkin[ playerid ] = 0;
- BiraSkin[ playerid ]++;
- PlayerInfo[ playerid ][ xSkin ] = FemaleSkinIDs[ BiraSkin[ playerid ]-1 ][ 0 ];
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], FemaleSkinIDs[ BiraSkin[ playerid ]-1 ][ 0 ] );
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], FemaleSkinNames[ BiraSkin[ playerid ]-1 ][ 0 ] );
- }
- }
- PlayerTextDrawShow( playerid, RegisterTD[ playerid ][ 7 ] );
- return true;
- }
- if( playertextid == RegisterTD[ playerid ][ 10 ] ) { // levo
- if( BiraPol[ playerid ] > 0 ) {
- if( BiraPol[ playerid ] == 1 ) {
- BiraPol[ playerid ] = 2;
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], FemaleSkinIDs[ 0 ][ 0 ] );
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], "Zensko");
- }
- else if( BiraPol[ playerid ] == 2 ) {
- BiraPol[ playerid ] = 1;
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], MaleSkinIDs[ 0 ][ 0 ] );
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], "Musko");
- }
- }
- if( BiraSkin[ playerid ] > 0 ) {
- if( RegSex[ playerid ] == 1 ) { // musko
- if( BiraSkin[ playerid ] == 1 ) BiraSkin[ playerid ] = 5;
- BiraSkin[ playerid ]--;
- PlayerInfo[ playerid ][ xSkin ] = MaleSkinIDs[ BiraSkin[ playerid ]-1 ][ 0 ];
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], MaleSkinIDs[ BiraSkin[ playerid ]-1 ][ 0 ] );
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], MaleSkinNames[ BiraSkin[ playerid ]-1 ][ 0 ] );
- }
- else if( RegSex[ playerid ] == 2 ) { // zensko
- if( BiraSkin[ playerid ] == 1 ) BiraSkin[ playerid ] = 5;
- BiraSkin[ playerid ]--;
- PlayerInfo[ playerid ][ xSkin ] = FemaleSkinIDs[ BiraSkin[ playerid ]-1 ][ 0 ];
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], FemaleSkinIDs[ BiraSkin[ playerid ]-1 ][ 0 ] );
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], FemaleSkinNames[ BiraSkin[ playerid ]-1 ][ 0 ] );
- }
- }
- PlayerTextDrawShow( playerid, RegisterTD[ playerid ][ 7 ] );
- return true;
- }
- if( playertextid == RegisterTD[ playerid ][ 11 ] ) { // izaberi
- if( BiraPol[ playerid ] > 0 ) {
- if( BiraPol[ playerid ] == 1 ) {
- PlayerInfo[ playerid ][ xPol ] = 1;
- RegSex[ playerid ] = 1;
- BiraPol[ playerid ] = 0;
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 2 ], "Musko");
- PlayerInfo[ playerid ][ xSkin ] = MaleSkinIDs[ 0 ][ 0 ];
- }
- else if( BiraPol[ playerid ] == 2 ) {
- PlayerInfo[ playerid ][ xPol ] = 2;
- RegSex[ playerid ] = 2;
- BiraPol[ playerid ] = 0;
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 2 ], "Zensko");
- PlayerInfo[ playerid ][ xSkin ] = FemaleSkinIDs[ 0 ][ 0 ];
- }
- }
- if( BiraSkin[ playerid ] > 0 ) {
- if( RegSex[ playerid ] == 1 ) {
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 4 ], MaleSkinNames[ BiraSkin[ playerid ]-1 ][ 0 ] );
- }
- else if( RegSex[ playerid ] == 2 ) {
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 4 ], FemaleSkinNames[ BiraSkin[ playerid ]-1 ][ 0 ] );
- }
- //PlayerTextDrawLetterSize( playerid, RegisterTD[ playerid ][ 4 ], 0.200000, 1.000000 );//
- PlayerTextDrawShow( playerid, RegisterTD[ playerid ][ 4 ] );
- BiraSkin[ playerid ] = 0;
- }
- for( new i = 7; i < 14; i ++) {//counting2 ok
- PlayerTextDrawHide( playerid, RegisterTD[ playerid ][ i ] );
- }
- return true;
- }
- if( playertextid == RegisterTD[ playerid ][ 4 ] ) { // skin
- for( new i = 7; i < 14; i ++) {//counting2 ok
- PlayerTextDrawShow( playerid, RegisterTD[ playerid ][ i ] );
- }
- if( RegSex[ playerid ] == 1 ) {
- PlayerInfo[ playerid ][ xSkin ] = 29;
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], MaleSkinNames[ 0 ][ 0 ] );
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], MaleSkinIDs[ 0 ][ 0 ] );
- }
- else if( RegSex[ playerid ] == 2 ) {
- PlayerTextDrawSetString( playerid, RegisterTD[ playerid ][ 8 ], FemaleSkinNames[ 0 ][ 0 ] );
- PlayerTextDrawSetPreviewModel( playerid, RegisterTD[ playerid ][ 7 ], FemaleSkinIDs[ 0 ][ 0 ] );
- }
- PlayerTextDrawShow( playerid, RegisterTD[ playerid ][ 7 ] );
- BiraPol[ playerid ] = 0;
- BiraSkin[ playerid ] = 1;
- return true;
- }
- if( playertextid == RegisterTD[ playerid ][ 1 ] ) {
- SPD( playerid, dialog_COUNTRY, DSL, "Vasa drzava", "{0097DF}[1]{FFFFFF} Srbija\n{0097DF}[2]{FFFFFF} Hrvatska\n{0097DF}[3]{FFFFFF} Makedonija\n{0097DF}[4]{FFFFFF} Crna Gora\n{0097DF}[5]{FFFFFF} Bosna i Hercegovina\n{0097DF}[6]{FFFFFF} Ostalo", "Odabir", "Izadji" );
- return true;
- }
- if( playertextid == RegisterTD[ playerid ][ 3 ] ) {
- SPD(playerid,dialog_AGE, DSI, "Vasa starost", "{0070A6}==============================================================\n\n{C0C0C0}Molimo vas da unesete koliko imate godina.\nUkoliko ste mladji od 12 i stariji od 70 godina necete moci nastaviti dalje!\n\n{0070A6}==============================================================", "Uredu", "Odustani");
- return true;
- }
- if( playertextid == RegisterTD[ playerid ][ 5 ] ) {
- SPD(playerid,dialog_MAIL, DSI, "E-mail adresa", "{0070A6}==============================================================\n\n{C0C0C0}Molimo vas da unesete vasu ispravnu E-mail adresu.\nU slucaju problema sa nalogom e-mail ce vam pomoci!\n\n{0070A6}==============================================================", "Uredu", "Odustani");
- return true;
- }
- if( playertextid == RegisterTD[ playerid ][ 6 ] ) {
- if( InputPassword[ playerid ] == false ) return GRESKA( playerid, "Niste odabrali lozinku!" );
- if( ChoseCountry[ playerid ] == false ) return GRESKA( playerid, "Niste odabrali vase porijeklo!" );
- if( InputAge[ playerid ] == false ) return GRESKA( playerid, "Niste upisali koliko imate godina!" );
- if( InputMail[ playerid ] == false ) return GRESKA( playerid, "Niste unijeli vas E-mail!" );
- if( RegSex[ playerid ] == 0 ) return GRESKA( playerid, "Niste odabrali drzavu iz koje dolazite!" );
- CancelSelectTextDraw( playerid );
- IgracSeRegistruje[ playerid ] = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement