case 10010656: // ClearInv
{
if (LinkBack == 0)
{
if (CSocket.Client.Inventory.Count == 40)
{
Text("Im clear invectory. U need it?", CSocket);
Link("Yes, i need.", 1, CSocket);
Link("No, i still here.", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
else
Text("Your inventory is full. You need to clear invectory?", CSocket);
Link("Yes, i need.", 1, CSocket);
Link("No, i still here.", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
if(CSocket.Client.Inventory.Count == 0)
Text("Your inventory is empty. All remove", CSocket);
Link("THANKS!!!", 255, CSocket);
Face(30, CSocket);
End(CSocket);
}
break;
}
Take, press thanks if im help