Stalno mi se pojavljuje ERROR a sve je dobro HELP HELP

Započeo Mr ExtraMan, Januar 10, 2018, 14:20:44 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Detaljan opis problema:Stalno mi se pojavljuje error a sve je dobro napravljeno taj mod je bio na netu sve radilo izeditovao i sad mi se pojavljuje ovaj ERROR a nez zasto 
Dio skripte: PogresnaCMD[0] = TextDrawCreate(282.000000, 293.000000, "_");
   TextDrawBackgroundColor(PogresnaCMD[0], 255);
   TextDrawFont(PogresnaCMD[0], 1);
   TextDrawLetterSize(PogresnaCMD[0], 0.500000, 1.000000);
   TextDrawColor(PogresnaCMD[0], -1);
   TextDrawSetOutline(PogresnaCMD[0], 0);
   TextDrawSetProportional(PogresnaCMD[0], 1);
   TextDrawSetShadow(PogresnaCMD[0], 1);
   TextDrawUseBox(PogresnaCMD[0], 1);
   TextDrawBoxColor(PogresnaCMD[0], 90);
   TextDrawTextSize(PogresnaCMD[0], 0.000000, 72.000000);
   TextDrawSetSelectable(PogresnaCMD[0], 0);

   PogresnaCMD[1] = TextDrawCreate(282.000000, 293.000000, "_");
   TextDrawBackgroundColor(PogresnaCMD[1], 255);
   TextDrawFont(PogresnaCMD[1], 1);
   TextDrawLetterSize(PogresnaCMD[1], 0.500000, -0.400000);
   TextDrawColor(PogresnaCMD[1], -1);
   TextDrawSetOutline(PogresnaCMD[1], 0);
   TextDrawSetProportional(PogresnaCMD[1], 1);
   TextDrawSetShadow(PogresnaCMD[1], 1);
   TextDrawUseBox(PogresnaCMD[1], 1);
   TextDrawBoxColor(PogresnaCMD[1], 12451839);
   TextDrawTextSize(PogresnaCMD[1], 0.000000, 72.000000);
   TextDrawSetSelectable(PogresnaCMD[1], 0);

   PogresnaCMD[2] = TextDrawCreate(282.000000, 307.000000, "_");
   TextDrawBackgroundColor(PogresnaCMD[2], 255);
   TextDrawFont(PogresnaCMD[2], 1);
   TextDrawLetterSize(PogresnaCMD[2], 0.500000, -0.400000);
   TextDrawColor(PogresnaCMD[2], -1);
   TextDrawSetOutline(PogresnaCMD[2], 0);
   TextDrawSetProportional(PogresnaCMD[2], 1);
   TextDrawSetShadow(PogresnaCMD[2], 1);
   TextDrawUseBox(PogresnaCMD[2], 1);
   TextDrawBoxColor(PogresnaCMD[2], 12451839);
   TextDrawTextSize(PogresnaCMD[2], 0.000000, 72.000000);
   TextDrawSetSelectable(PogresnaCMD[2], 0);

   PogresnaCMD[3] = TextDrawCreate(5.000000, 293.000000, "U~w~pisali ste pogresnu komandu za sve komande kucajte ~r~/komande");
   TextDrawBackgroundColor(PogresnaCMD[3], 0);
   TextDrawFont(PogresnaCMD[3], 2);
   TextDrawLetterSize(PogresnaCMD[3], 0.180000, 1.100000);
   TextDrawColor(PogresnaCMD[3], 12451839);
   TextDrawSetOutline(PogresnaCMD[3], 0);
   TextDrawSetProportional(PogresnaCMD[3], 1);
   TextDrawSetSelectable(PogresnaCMD[3], 0);
Neke slike/video za lakse dobivanje pomoci(neobavezno): https://imgur.com/a/bdvsQ

Jel imas ovaj define na vrhu skripte ili iznad?
[pawn]new Text:PogresnaCMD[4];[/pawn]
• Website: www.vasic.dev
Web Development & Cyber Security


Citat: matka poslato Januar 10, 2018, 14:27:57 POSLE PODNE
kad to stavim pojavi mi se 30 errora a
Daj nam errore, jer bez tog define-a ne mozes da kreiras td.
• Website: www.vasic.dev
Web Development & Cyber Security

sad mi se pojavio error za ADUTY
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26330) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26331) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26332) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26333) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26334) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26335) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26336) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26337) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26338) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26339) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26340) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27773) : error 017: undefined symbol "TimerDoNove"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27821) : error 017: undefined symbol "ActorInfo"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27821) : error 036: empty statement
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27821) : error 017: undefined symbol "a"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27821) : fatal error 107: too many error messages on one line

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


16 Errors.

Citat: matka poslato Januar 10, 2018, 14:34:54 POSLE PODNE
sad mi se pojavio error za ADUTY
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26330) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26331) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26332) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26333) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26334) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26335) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26336) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26337) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26338) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26339) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26340) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27773) : error 017: undefined symbol "TimerDoNove"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27821) : error 017: undefined symbol "ActorInfo"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27821) : error 036: empty statement
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27821) : error 017: undefined symbol "a"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27821) : fatal error 107: too many error messages on one line

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


16 Errors.
Daj nam liniju 27821[/i] da vidimo. Ili probaj da ides da stavis taj defajn ispred funkcije OnGameModeInit
• Website: www.vasic.dev
Web Development & Cyber Security

moguli vam negdje poslat cijelu skriptu jer sam pocetnik pa bas i ovo ne razumijem ?

prvo procitaj ovaj post http://balkan-samp.com/forum/index.php?topic=40233.0
prvih 11 errora ti je jer nisi definisao Aduty
a ovih ostali su na liniji 27821 tako da daj nam liniju tu
Citat: Mr.Gagi
Neka drze Dude-a podalje od foruma pa ce i biti clanova. On lako tera i brise korisnike po mom misljenju.
Citat: Dudeje, to mi je hobi...

public OnGameModeExit()
{

   foreach(Player, i)
   {
      KillTimer(freeze);
      KillTimer(utovar);
      //KillTimer(KapijeTimer);
      KillTimer(tglad);
        KillTimer(twc);
        KillTimer(TimerDoNove);
      SavePlayer(i);
   }
   TextDrawDestroy(Intro[0]); TextDrawDestroy(Intro[1]); TextDrawDestroy(Intro[2]);
   TextDrawDestroy(Intro[3]); TextDrawDestroy(Intro[4]); TextDrawDestroy(Intro[5]);
   TextDrawDestroy(Intro[6]); TextDrawDestroy(Intro[7]); TextDrawDestroy(Intro[8]);
   TextDrawDestroy(Intro[9]); TextDrawDestroy(Intro[10]); TextDrawDestroy(TutorialSledi[0]);
   TextDrawDestroy(TutorialSledi[1]); TextDrawDestroy(TutorialSledi[2]); TextDrawDestroy(TutorialSledi[3]);
   TextDrawDestroy(TutorialSledi[4]); TextDrawDestroy(TutorialSledi[5]); TextDrawDestroy(TutorialSledi[6]);
   TextDrawDestroy(TDO[0]); TextDrawDestroy(TDO[1]); TextDrawDestroy(TDO[2]);
   TextDrawDestroy(TDO[3]); TextDrawDestroy(TDO[4]); TextDrawDestroy(TDO[5]); //KillTimer(antiafk);
   TextDrawDestroy(SPORUKE[0]); TextDrawDestroy(SPORUKE[1]); TextDrawDestroy(SPORUKE[2]);
   TextDrawDestroy(SPORUKE[3]); TextDrawDestroy(SPORUKE[4]); TextDrawDestroy(SPORUKE[5]);
   TextDrawDestroy(SPORUKE[6]); TextDrawDestroy(SPORUKE[7]); TextDrawDestroy(SPORUKE[8]);
   TextDrawDestroy(SPORUKE[9]); TextDrawDestroy(SPORUKE[10]); TextDrawDestroy(SPORUKE[11]);
   TextDrawDestroy(SPORUKE[12]); TextDrawDestroy(SPORUKE[13]); TextDrawDestroy(SPORUKE[14]);
   TextDrawDestroy(SPORUKE[15]); TextDrawDestroy(SPORUKE[16]); TextDrawDestroy(SPORUKE[17]);
   TextDrawDestroy(SPORUKE[19]); TextDrawDestroy(SPORUKE[20]); TextDrawDestroy(SPORUKE[21]);
   TextDrawDestroy(SPORUKE[18]);
   TextDrawDestroy(SPORUKE[22]); TextDrawDestroy(SPORUKE[23]); TextDrawDestroy(SPORUKE[24]);
   TextDrawDestroy(SPORUKE[25]); TextDrawDestroy(SPORUKE[26]); TextDrawDestroy(SPORUKE[27]);
   TextDrawDestroy(SPORUKE[28]); TextDrawDestroy(SPORUKE[29]); TextDrawDestroy(SPORUKE[30]);
   TextDrawDestroy(SPORUKE[31]); TextDrawDestroy(SPORUKE[32]); TextDrawDestroy(SPORUKE[33]);
   TextDrawDestroy(SPORUKE[34]); TextDrawDestroy(SPORUKE[35]); TextDrawDestroy(SPORUKE[36]);
   TextDrawDestroy(SPORUKE[37]); TextDrawDestroy(SPORUKE[38]); TextDrawDestroy(SPORUKE[39]);
   TextDrawDestroy(SPORUKE[40]); TextDrawDestroy(SPORUKE[41]); TextDrawDestroy(SPORUKE[42]);
   TextDrawDestroy(SPORUKE[43]); TextDrawDestroy(SPORUKE[44]); TextDrawDestroy(SPORUKE[45]);
   TextDrawDestroy(SPORUKE[46]); TextDrawDestroy(SPORUKE[47]); //TextDrawDestroy(SPORUKE[48]);
   
/*
   TextDrawDestroy(SPORUKE[49]); TextDrawDestroy(SPORUKE[50]); TextDrawDestroy(SPORUKE[51]);
   TextDrawDestroy(SPORUKE[52]); TextDrawDestroy(SPORUKE[53]); TextDrawDestroy(SPORUKE[54]);
   TextDrawDestroy(SPORUKE[55]); TextDrawDestroy(SPORUKE[56]); TextDrawDestroy(SPORUKE[57]);
   TextDrawDestroy(SPORUKE[58]); TextDrawDestroy(SPORUKE[59]); TextDrawDestroy(SPORUKE[60]);
   TextDrawDestroy(SPORUKE[61]); TextDrawDestroy(SPORUKE[62]); TextDrawDestroy(SPORUKE[63]);
   TextDrawDestroy(SPORUKE[64]); TextDrawDestroy(SPORUKE[65]); TextDrawDestroy(SPORUKE[66]);
*/ //   TextDrawDestroy(SPORUKE[67]); TextDrawDestroy(SPORUKE[68]); TextDrawDestroy(SPORUKE[69]);
   TextDrawDestroy(TDO[6]); KillTimer(synctimer);
   for (new b; b != sizeof(joinMenuButtons); b++)
   {
      TextDrawHideForAll(joinMenuButtons);
      TextDrawDestroy(joinMenuButtons);
   }
   for (new e; e != sizeof(joinMenuExtra); e++)
   {
      TextDrawHideForAll(joinMenuExtra[e]);
      TextDrawDestroy(joinMenuExtra[e]);
   }
   for(new a = 0; a < sizeof(ActorInfo); a++) { SaveActor(a); } // - aktori
   {
   }

U Buduce koristi PAWNO CODE Na Forumu.
@Tema - D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26340) : error 017: undefined symbol "Aduty"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27773) : error 017: undefined symbol "TimerDoNove"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27821) : error 017: undefined symbol "ActorInfo"
to ti samo kaze da je NE DEFINISAN SIMBOL KOJI SI NAPISAO.
Lepo ovo kopiras, i zalepi na vrh skripte.
[pawn]new Aduty[MAX_PLAYERS];
new TimerDoNove[MAX_PLAYERS];
new ActorInfo[MAX_PLAYERS];[/pawn]
new Text:PogresnaCMD[4];
To bi valjda pocetnici trebalo da znaju.
• Website: www.vasic.dev
Web Development & Cyber Security

Sta bi sad trebalo ovo da znaci
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26333) : error 033: array must be indexed (variable "Aduty")
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26334) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26335) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26336) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26337) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26338) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26339) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26340) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26341) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26342) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(26343) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(27776) : error 035: argument type mismatch (argument 1)
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(28496) : error 017: undefined symbol "Prikazani_Tdovi"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(28496) : warning 215: expression has no effect
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(28496) : error 001: expected token: ";", but found "]"
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(28496) : error 029: invalid expression, assumed zero
D:\New Game by Matka and Shomy\gamemodes\UGRPG.pwn(28496) : fatal error 107: too many error messages on one line

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


16 Errors.

Mi tu sada tebi ne mozemo da pomognemo. Jer si dosta stvari pobrkao/pogresio u skripti.  Sve si sada razbacao da tako kazem. Posalji ovde tvoj gm/skriptu pa neko od dobrovoljaca ti pomogne! Moguce mozda ja ako budem imao vremena.
• Website: www.vasic.dev
Web Development & Cyber Security



Prošlo 48h bez ikakvog odgovora na temu.
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci