Błąd dialogu Expected ; 1863 3

O temacie

Autor Axel

Zaczęty 15.11.2009 roku

Wyświetleń 1863

Odpowiedzi 3

Axel

Axel

Użytkownicy
Król Mount & Blade
posty244
Propsy2
  • Użytkownicy
  • Król Mount & Blade
Komunikat błędu : U:Par Expected ; line 38 (Zaznaczyłem linię)
[codebox]///////////////////////////////////////////////////////
//////////////         hello
///////////////////////////////////////////////////////
instance Dia_Najemink_hello   (C_INFO)
{
    npc    = SLD_842_Najemnik;
    condition    =  Dia_Najemink_hello_condition;
    information    =  Dia_Najemink_hello_info;
    permanent    = FALSE;
    important    = TRUE;
};

FUNC int  Dia_Najemink_hello_condition()
{
    return TRUE;
};

FUNC VOID  DIA_Najemink_hello_info()
{
       IF (Npc_KnowsInfo(hero, Najemnik_hello1))
{
       AI_Output (self, other,"DIA_Najemink_hello_1_01"); //
    AI_Output (other,self,"DIA_Najemink_hello_1_02"); //
}
   else
   {

    AI_Output (self, other,"DIA_Najemink_hello_1_01"); //
    AI_Output (other,self,"DIA_Najemink_hello_1_02"); //
    AI_Output (self, other,"DIA_Najemink_hello_1_03"); //
    AI_Output (other,self,"DIA_Najemink_hello_1_04"); //
    AI_Output (self, other,"DIA_Najemink_hello_1_05"); //
    AI_Output (other,self,"DIA_Najemink_hello_1_06"); //
    AI_Output (self, other,"DIA_Najemink_hello_1_07"); //
    AI_Output (other,self,"DIA_Najemink_hello_1_08"); //
    AI_Output (self, other,"DIA_Najemink_hello_1_09"); //
   }
}; // Tu jest błąd.
[/codebox]

Zapewne rozwiązanie jest proste , ale jeszcze takiego dialogu nie robiłem i mam z tym problem.
 
Mount & Blade i Dofus wymiatają :D

Jeżeli ktoś gra w Dofusa niech napisze do mnie na pw !



Wie is ezel? Ik.

Item editor - M&B

Zysk

Zysk

Użytkownicy
posty606
Propsy451
  • Użytkownicy
w tym języku musi być średnik po if ... {...}else{...}
 

Axel

Axel

Użytkownicy
Król Mount & Blade
posty244
Propsy2
  • Użytkownicy
  • Król Mount & Blade
Może jaśniej , w którym miejscu?
 
Mount & Blade i Dofus wymiatają :D

Jeżeli ktoś gra w Dofusa niech napisze do mnie na pw !



Wie is ezel? Ik.

Item editor - M&B

Adanos

Adanos

Administrator
Szara eminencja
posty5204
Propsy3870
ProfesjaProgramista
  • Administrator
  • Szara eminencja
Za przed ostatnim nawiasem. Wiersz wyżej dodaj średnik, gdzie masz błąd. BTW Zysk chyba jasno się wyraził?


0 użytkowników i 1 Gość przegląda ten wątek.
0 użytkowników
Do góry