Witam mam problem z tym skryptem:
//*********************************************************************
// Info EXIT
//*********************************************************************
INSTANCE DIA_SLD_888_Aron_EXIT (C_INFO)
{
npc = SLD_888_Aron;
nr = 999;
condition = DIA_SLD_888_Aron_EXIT_Condition;
information = DIA_SLD_888_Aron_EXIT_Info;
permanent = TRUE;
description = DIALOG_ENDE;
};
FUNC INT DIA_SLD_888_Aron_EXIT_Condition()
{
return TRUE;
};
FUNC VOID DIA_SLD_888_Aron_EXIT_Info()
{
AI_StopProcessInfos (self);
};
//*********************************************************************
// Info Hello
//*********************************************************************
INSTANCE DIA_SLD_888_Aron_Hello (C_INFO)
{
npc = SLD_888_Aron;
nr = 1;
condition = DIA_SLD_888_Aron_Hello_Condition;
information = DIA_SLD_888_Aron_Hello_Info;
permanent = FALSE;
description = "co s³ychac?";
};
FUNC INT DIA_SLD_888_Aron_Hello_Condition()
{
return TRUE;
};
FUNC VOID DIA_SLD_888_Aron_Hello_Info()
{
AI_Output (other,self ,"DIA_SLD_888_Aron_Hello_15_00"); //co s³ychac
AI_Output (self ,other,"DIA_SLD_888_Aron_Hello_55_01"); //Umieram...
};
//*********************************************************************
// zadanie
//*********************************************************************
INSTANCE DIA_SLD_888_Aron_zadanie (C_INFO)
{
npc = SLD_888_Aron;
nr = 1;
condition = DIA_SLD_888_Aron_zadanie_Condition;
information = DIA_SLD_888_Aron_zadanie_Info;
permanent = FALSE;
description = "Umierasz?";
};
FUNC INT DIA_SLD_888_Aron_zadanie_Condition()
{
if(npc_knowsinfo(other,DIA_SLD_888_Aron_Hello))
return TRUE;
};
FUNC VOID DIA_SLD_888_Aron_zadanie_Info()
{
AI_Output (other,self ,"DIA_SLD_888_Aron_zadanie_15_00"); //Jak to umierasz?
AI_Output (self ,other,"DIA_SLD_888_Aron_zadanie_55_01"); //Umieram, bo od jakis 10 godzin nie jadlem zadnej kiely a nie mam sil aby dojsc na farme .
AI_Output (self,other,"DIA_SLD_888_Aron_zadanie_15_02"); //Jezeli móglbys mi przyniesc kielbe to bede dozgonnie wdzieczny.
Log_CreateTopic(TOPIC_BACON_ARON, Log_MISSION);
Log_SetTopicStatus (TOPIC_BACON_ARON,LOG_RUNNING);
B_LogEntry(TOPIC_BACON_ARON,"Aron potrzebuje kielby");
};
//*********************************************************************
// koniec
//*********************************************************************
INSTANCE DIA_SLD_888_Aron_kielba (C_INFO)
{
npc = SLD_888_Aron;
nr = 1;
condition = DIA_SLD_888_Aron_kielba_Condition;
information = DIA_SLD_888_Aron_kielba_Info;
permanent = FALSE;
description = "Mam kielbase";
};
FUNC INT DIA_SLD_888_Aron_kielba_Condition()
{
if(npc_knowsinfo(other,DIA_SLD_888_Aron_zadanie
&& (npc_hasitems (other,ItFo_Sausage)>= 6)
return TRUE;
};
};
FUNC VOID DIA_SLD_888_Aron_kielba_Info()
{
AI_Output (other,self ,"DIA_SLD_888_Aron_kielba_15_00"); //Mam kielbase
AI_Output (self ,other,"DIA_SLD_888_Aron_kielba_55_01"); //Bozesz ty mój chlopie ratujesz mi zycie!
AI_Output (self,other,"DIA_SLD_888_Aron_kielba_15_02"); //Naprawde wielkie dzieki za kielbe wkoncu kawal miesa porzadnego.
B_giveinvitems(other,self,ItFo_Sausage,6);
Createinvitems(self,itmi_gold,300);
B_giveinvitems(self,other,itmi_gold,300);
Log_CreateTopic(TOPIC_BACON_ARON, Log_MISSION);
Log_SetTopicStatus (TOPIC_BACON_ARON,LOG_SUCCES);
B_LogEntry(TOPIC_BACON_ARON,"dalem Aronowi kielbase");
};
----------------------------------------------------------------------------------------
Otóż problem jest z linijką 68 i nie wiem o co chodzi proszę o pomoc.Korzystałem z poradnika Youtubera o nazwie Czip17 i zawsze szło wszystko dobrze a teraz dupa.