Wyskakuje mi błąd w spacerze : U:PAR: Assignment : Left operand is not a lvalue (105 line)
/////////////////////////////////////////
// Koniec Misja
//////////////////////////////////////////
instance DIA_Ikar_ZMisja(C_INFO)
{
npc = PAL_20047_Ikar;
nr = 2;
condition = DIA_Ikar_ZMisja_Condition;
information = DIA_Ikar_ZMisja_Info;
permanent = FALSE;
important = FALSE;
description = "Mam twoje bełty";
};
FUNC INT DIA_Ikar_ZMisja_Condition()
{
if (Npc_KnowsInfo (other, DIA_Ikar_Misja))
&& (Npc_HasItems (other,Itrw_Bolt)= 50) (TO JEST LINIA 105)
{
return TRUE;
};
};
FUNC VOID DIA_Ikar_ZMisja_Info()
{
AI_Output (other,self ,"DIA_Ikar_ZMisja_15_00"); //Mam twoje bełty
AI_Output (self ,other,"DIA_Ikar_ZMisja_14_01"); //Naprawde, no to dawaj!
B_giveinvitems (other,self ,itRw_Bolt, 50);
AI_Output (self ,other,"DIA_Ikar_ZMisja_14_02"); //Dzięki chłopie, o to twoja kasa!
Createinvitems (self, itmi_gold, 100);
B_giveinvitems (self, other, itmi_gold, 100);
B_LogEntry (TOPIC_Ikar,"Dałem Ikarowi bełty, on wywiązał się z umowy.");
Log_SetTopicStatus(TOPIC_Ikar, LOG_SUCCESS);
};
Co jest nie tak?