|
#region npc moto and car
case 2020800:
{
switch (npcrequest.optionid)
{
case 0:
{
dialog.text("hey there would you like to buy new mount motosikl and car ?");
//dialog.option("dragon killer(mounte) saint 5k cps ", 1);
// dialog.option("the daarknees(gerament)saint 5k cps", 2);
// dialog.option("dragon killer(mounte) normal 3 kcps", 3);
// dialog.option("the daarknees(gerament)normal 3 kcps", 4);
dialog.option("motosikl 60k cps", 5);
dialog.option("race car 60k cps", 6);
dialog.option("no.thanks", 250);
dialog.avatar(80);
dialog.send();
break;
}
case 1:
{
if (client.inventory.count < 39)
{
if (client.entity.conquerpoints >= 5000)
{
client.send(new message("congraulations you have got the new garment", system.drawing.color.white, message.center));
client.entity.conquerpoints -= 5000;
client.inventory.add(200531, 0, 1);
}
else
{
dialog.text("hey man you dont have 5000 cps ");
dialog.option("oh,sorry", 255);
dialog.send();
break;
}
break;
}
else
{
dialog.text("you have to make free rooms in you item");
dialog.option("oh,ok", 255);
dialog.send();
break;
}
}
case 2:
{
if (client.inventory.count < 39)
{
if (client.entity.conquerpoints >= 5000)
{
client.send(new message("congraulations you have got the new garment", system.drawing.color.white, message.center));
client.entity.conquerpoints -= 5000;
client.inventory.add(189065, 0, 1);
}
else
{
dialog.text("hey man you dont have 5000 cps ");
dialog.option("oh,sorry", 255);
dialog.send();
break;
}
break;
}
else
{
dialog.text("you have to make free rooms in you item");
dialog.option("oh,ok", 255);
dialog.send();
break;
}
}
case 3:
{
if (client.inventory.count < 39)
{
if (client.entity.conquerpoints >= 3000)
{
client.send(new message("congraulations you have got the new garment", system.drawing.color.white, message.center));
client.entity.conquerpoints -= 3000;
client.inventory.add(200528, 0, 1);
}
else
{
dialog.text("hey man you dont have 3000 cps ");
dialog.option("oh,sorry", 255);
dialog.send();
break;
}
break;
}
else
{
dialog.text("you have to make free rooms in you item");
dialog.option("oh,ok", 255);
dialog.send();
break;
}
}
case 4:
{
if (client.inventory.count < 39)
{
if (client.entity.conquerpoints >= 3000)
{
client.send(new message("congraulations you have got the new garment", system.drawing.color.white, message.center));
client.entity.conquerpoints -= 3000;
client.inventory.add(189045, 0, 1);
}
else
{
dialog.text("hey man you dont have 3000 cps ");
dialog.option("oh,sorry", 255);
dialog.send();
break;
}
break;
}
else
{
dialog.text("you have to make free rooms in you item");
dialog.option("oh,ok", 255);
dialog.send();
break;
}
}
case 5:
{
if (client.inventory.count < 39)
{
if (client.entity.conquerpoints >= 60000)
{
client.send(new message("congraulations you have got the new garment", system.drawing.color.white, message.center));
client.entity.conquerpoints -= 60000;
client.inventory.add(200533, 0, 1);
}
else
{
dialog.text("hey man you dont have 6000 cps ");
dialog.option("oh,sorry", 255);
dialog.send();
break;
}
break;
}
else
{
dialog.text("you have to make free rooms in you item");
dialog.option("oh,ok", 255);
dialog.send();
break;
}
}
case 6:
{
if (client.inventory.count < 39)
{
if (client.entity.conquerpoints >= 60000)
{
client.send(new message("congraulations you have got the new garment", system.drawing.color.white, message.center));
client.entity.conquerpoints -= 60000;
client.inventory.add(200532, 0, 1);
}
else
{
dialog.text("hey man you dont have 6000 cps ");
dialog.option("oh,sorry", 255);
dialog.send();
break;
}
break;
}
else
{
dialog.text("you have to make free rooms in you item");
dialog.option("oh,ok", 255);
dialog.send();
break;
}
}
}
break;
}
#endregion