[POMOC]Errori

Započeo Sef, Jun 03, 2017, 10:16:54 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Sef

*

Skripta koju koristim:FG
Detaljan opis problema:Radio sam novi posao Cistac Prozora i radio sam malo po malo i sve je fino radilo odjednom kad sam zavrsio sve htio sam compilat i ispalo mi je 26 totalno lijevih errora.Gledao sam preko nekog zBracketFindera bio mi je ispalo da sam dodao jedan dodatni bracket medjutim kad sam ga obrisao i probao compilat opet mi je isto ispalo
Dio skripte:Evo lista errora
[pawn]C:\Users\karan\Desktop\Mauricijus\Mauricijus\Compiler\include\newsamp.inc(712) : error 017: undefined symbol "CB_OnPlayerUpdate"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Compiler\include\newsamp.inc(794) : error 017: undefined symbol "CB_OnPlayerKeyStateChange"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(18231) : error 017: undefined symbol "GetPlayerIdFromName"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(19947) : error 017: undefined symbol "aliasLogin"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(22951) : error 017: undefined symbol "RandomCard"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(22952) : error 017: undefined symbol "WinnText"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(22953) : error 017: undefined symbol "BetCredit"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(22954) : error 004: function "TextDrawDizajn" is not implemented
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(22966) : error 017: undefined symbol "Swap"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(22973) : error 017: undefined symbol "get_rank"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(22975) : error 017: undefined symbol "rankname"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(23011) : error 017: undefined symbol "WinnText"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(23012) : error 017: undefined symbol "BetCredit"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(22973) : warning 204: symbol is assigned a value that is never used: "rank"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(23045) : error 017: undefined symbol "BetCredit"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(23057) : error 017: undefined symbol "BetCredit"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(23058) : error 017: undefined symbol "WinnText"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(23075) : error 017: undefined symbol "ExitPoker"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(30153) : error 017: undefined symbol "AntiDeAMX"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(30631) : error 017: undefined symbol "proveriAlias"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(30714) : error 017: undefined symbol "ExitPlayerFromSlotMachine"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(30716) : error 017: undefined symbol "Delete_PokerTextDraw"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(30819) : error 017: undefined symbol "SexTDControl"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(30821) : error 017: undefined symbol "TogPlayerHud"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(31730) : error 017: undefined symbol "SexTDControl"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(31732) : error 017: undefined symbol "TogPlayerHud"
C:\Users\karan\Desktop\Mauricijus\Mauricijus\Server\gamemodes\Mv1.0.pwn(33430) : error 079: inconsistent return types (array & non-array)

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
[/pawn]
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Life Quotes:
"Successful people do what unsuccessful people are not willing to do. Don't wish it were easier; wish you were better."

“To learn something new, you need to try new things and not be afraid to be wrong.”

Sta si zadnje radio od koda pa kada si compile izbacilo errore,fali ti bracket negdje vjerovatno
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Sef

*

Probao sam sa zBracket Finderom nema ni jedan problem i open close bracket su isti msm ima ih isto.
Life Quotes:
"Successful people do what unsuccessful people are not willing to do. Don't wish it were easier; wish you were better."

“To learn something new, you need to try new things and not be afraid to be wrong.”

De ti pogledaj kodove dobro ponovo,jbg bolje bit siguran
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Sef

*

Evo ako neko moze da pogleda gdje sam pogrijesio poslat cu sve sto sam radio oko posla.
[pawn]    case 41: {
            if( PlayerInfo[ playerid ][ xPosao ] == POSAO_CISTACPROZORA ) {
                if( CistiProzor[ playerid ] == 1 ) {
                  if( IsPlayerInRangeOfPoint( playerid, 5.0, 1770.1318, -1301.5161, 32.3459 ) ) {
                     TogglePlayerControllable( playerid, false );
                     GameTextForPlayer( playerid, "~w~sacekajte, cistite prozor...", 5000, 5);
                     PilotTimer[ playerid ] = SetTimerEx( "CistiProzor", 5000, false, "d", playerid );
                     Niixi_SetPlayerCheckpoint( playerid, 1779.9702, -1294.3276, 32.4134, 5.0 );
                     CistiProzor[ playerid ] = 2;
               }
            }
         }
               else if( CistiProzor[ playerid ] == 2 ) {
                  if( IsPlayerInRangeOfPoint( playerid, 5.0, 1779.9702, -1294.3276, 32.4134 ) ) {
                     TogglePlayerControllable( playerid, false );
                     GameTextForPlayer( playerid, "~w~sacekajte, cistite prozor...", 5000, 5);
                     CistacProzoraTimer[ playerid ] = SetTimerEx( "CistiProzor", 5000, false, "d", playerid );
                     Niixi_SetPlayerCheckpoint( playerid, 1782.5774 ,-1294.3276, 32.4134, 5.0 );
                     CistiProzor[ playerid ] = 3;
                     }
                  }
                  else if( CistiProzor[ playerid ] == 3 ) {
                  if( IsPlayerInRangeOfPoint( playerid, 5.0, 782.5774 ,-1294.3276, 32.4134 ) ) {
                     TogglePlayerControllable( playerid, false );
                     GameTextForPlayer( playerid, "~w~sacekajte, cistite prozor...", 5000, 5);
                     CistacProzoraTimer[ playerid ] = SetTimerEx( "CistiProzor", 5000, false, "d", playerid );
                     Niixi_SetPlayerCheckpoint( playerid, 1770.1603, -1305.9948, 32.4511, 5.0 );
                     CistiProzor[ playerid ] = 4;
                  }
               }
               else if( CistiProzor[ playerid ] == 4 ) {
                  if( IsPlayerInRangeOfPoint( playerid, 5.0, 1770.1603, -1305.9948, 32.4511 ) ) {
                     TogglePlayerControllable( playerid, false );
                     GameTextForPlayer( playerid, "~w~Ostavljate stvari za ciscenje...", 5000, 5);
                     CistacProzoraTimer[ playerid ] = SetTimerEx( "CistiProzor", 5000, false, "d", playerid );
                     Niixi_SetPlayerCheckpoint( playerid, 1771.4160,-1319.9818,13.5842, 5.0 );
                     CistiProzor[ playerid ] = 5;
                     }
                  }
               else if( CistiProzor[ playerid ] == 5) {
                  if( IsPlayerInRangeOfPoint( playerid, 5.0, 1771.4160, -1319.9818, 13.5842 ) ) {

                  }
                      CheckpointStatus[ playerid ] = 0;
                            TogglePlayerControllable( playerid, false );
                            SetTimerEx( "SlobodnoSada", 2000, false, "i", playerid );
                     new bonus = random(50);
                     PlayerInfo[ playerid ][ xPlatniRacun ] += (10000+bonus);
                     SavePlayer( playerid ); UpdatePlataTD( playerid );
                     BussinesJobMoney( POSAO_CISTACPROZORA, ((10000+bonus)/10) );
                     format( globalstring, sizeof( globalstring ), ""col_job"Uspesno ste zavrsili ciscenje prozora!\n\n"col_white"Plata: "col_job"10000$\n"col_white"Bonus: "col_job"%d$", bonus );
                     ShowPlayerDialog( playerid, 0, DSMSG, D_NASLOV, globalstring, "Ok", "" );
                     CistiProzor playerid ] = 0;
                     DisablePlayerCheckpoint( playerid );
         }
      }[/pawn]

[pawn]         else if( ChosenJob[ playerid ] == POSAO_CISTACPROZORA ) {
               ShowPlayerDialog( playerid, 0, DSMSG, "Posao Cistac Prozora",
               ""col_job"Cestitamo! Uspesno ste se zaposlili kao Cistac Prozora!\n\n" \
               ""col_job"Potrebno je da odradite barem 3 sati ugovora kako bi ste dali otkaz!\n" \
               ""col_job"Komande posla: "col_white" /posao & /uniforma", "U redu", "");
         }[/pawn]

[pawn]    if( pickupid == cistacprozorapickup ) {
        ChosenJob[ playerid ] = POSAO_CISTACPROZORA;
        ZaposljavanjeTDControl( playerid, true, "Cistac Prozora", "zarada:        ~w~po ruti", "ugovor:              ~w~3h" );
    }[/pawn]

[pawn]    cistacprozorapickup = CreateDynamicPickup( 1274, 2, 1767.6575, -1319.9807, 13.5843, -1, -1 );
    Create3DTextLabel(""col_M"[ CISTAC PROZORA ]\n"col_white"KVALIFIKACIJE:"col_M"NEMA", 0x008080FF, 1892.8370, -2328.5259, 13.5469, 10.0, 0, 0);
    [/pawn]

[pawn]
CMD:lift( playerid, params[] ) {
if( IsPlayerInRangeOfPoint( playerid, 10.0, 1766.83093, -1303.65198, 12.67784 ) ) return GRESKA( playerid, "Morate biti kod lifta." );
          if( PlayerInfo[ playerid ][ xAdmin ] >= 6 || PlayerInfo[ playerid ][ xPosao ] == POSAO_CISTACPROZORA ) {
            MoveDynamicObject( lift, 1766.83093, -1303.65198, 31.55955, 2.0 );
            SetTimer( "LiftClose", 12000, 0 );
      }
return true;
}[/pawn]

[pawn]   else if( PlayerInfo[ playerid ][ xPosao ] == POSAO_CISTACPROZORA ) {
      if( UzeoOpremu[ playerid ] == false ) return GRESKA( playerid, "Nemate opremu!" );
        if( AccountVerified[ playerid ] == false ) return GRESKA( playerid, "Prvo morate verifikovati svoj nalog(/verifikacija).");
        Niixi_SetPlayerCheckpoint( playerid, 1770.1318, -1301.5161, 32.3459, 5.0 );
        CistacProzora[ playerid ] = 1; CheckpointStatus[ playerid ] = 20;
      SendJobMessage( playerid, "Krenuli ste sa ciscenjem prozora ocistite sve prozore i vratite se po zaradu.");

      AccountVerified[ playerid ] = false;
       return 1;
   }[/pawn]

Eto sve sto se tice oko posla ima jos nekih timera i publica sto sam radio za njega ako treba nekom i to cu dat ako moze neko da pogleda jer stvarno ne mogu vidit gresku a bracket finder ne pokazuje nista.Eto ako moze neko da mi pomogne bio bih mu zahvalan.
Life Quotes:
"Successful people do what unsuccessful people are not willing to do. Don't wish it were easier; wish you were better."

“To learn something new, you need to try new things and not be afraid to be wrong.”

Iskoristi bracketfix beta od iPleomaxa za pronalazenje, po meni je najbolji, mislim da ne pokaze uvjek tacno gdje fali bracket, ali makar znas je li fali, i znas otprilike gdje fali