Don't upload your images in an MPGH format upload it in like an igmur link but...
it says that because I gave you a part of the code, you have to combine it with your existing code.
if tasktablet one is consumed try something like this...
it says that because I gave you a part of the code, you have to combine it with your existing code.
Code:
for (var i = 0; i < Inventory.Length; i++)
{
if (Inventory[i].ObjectId == "Dragon Pearl")
{
Inventory[i] = Manager.GameData.Items[0x108e];
Player.SendInfo("Quest Complete");
UpdateCount++;
SaveToCharacter();
for (var e = 0; e<= Inventory.Length; e++)
{
if (Inventory[e] == "Task Tablet 1")
{
Inventory[e] = Manager.GameData.Items[...];
return true;
}
}
}
}
Code:
for (var i = 0; i <= Inventory.Length; i++)
{
bool questcomplete = false;
if (Inventory[i].ObjectId == "Dragon Pearl")
{
Inventory[i] = Manager.GameData.Items[...];
Update++;
SaveToCharacter();
SendInfo("Quest Complete");
questcomplete = true;
}
if (Inventory[i] == null && questcomplete == true)
{
Inventory[i] = Manager.GameDate.Items[...];
return;
}
}
