MARO
06-01-2012, 07:57 PM
حصريا وعلى منتدانا الكريم بدون تعب شديد يعنى بس الحمد لله تم :
اضافت ال اربع بنات بتوع ال جلدور فى سورس كودر
======================================
ارجو عند نقل الموضوع ذكر المصدر :عفواً لايمكن عرض الروابط في الإرشيف
وصاحب الموضوع :Diehard248
======================================
ضيف الكود في الملف الاتي في السورس
Dialogs.cs
#region GuildConductor1
case 5640:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Are you heading for the next teleporter? It is free for our members, and 1,000 silver for others.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Buy Guild Teleporter.", 255);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 1000)
{
client.Entity.Money -= 1000;
client.Entity.Teleport(1005, 35, 51);
}
else
{
dialog.Text("Please take 1000 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor2
case 5641:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Are you heading for the next teleporter? It is free for our members, and 1,000 silver for others.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Buy Guild Teleporter.", 255);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 1000)
{
client.Entity.Money -= 1000;
client.Entity.Teleport(1015, 794, 567);
}
else
{
dialog.Text("Please take 1000 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor3
case 5642:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Are you heading for the next teleporter? It is free for our members, and 1,000 silver for others.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Buy Guild Teleporter.", 255);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 1000)
{
client.Entity.Money -= 1000;
client.Entity.Teleport(1000, 489, 633);
}
else
{
dialog.Text("Please take 1000 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor4
case 5643:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Are you heading for the next teleporter? It is free for our members, and 1,000 silver for others.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Buy Guild Teleporter.", 255);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 1000)
{
client.Entity.Money -= 1000;
client.Entity.Teleport(1001, 335, 326);
}
else
{
dialog.Text("Please take 1000 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor1
case 5662:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Would you like to go ack to Guild Area in Twin City? l will teleport our members there free and charge nonmembers 500.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 500)
{
client.Entity.Money -= 500;
client.Entity.Teleport(1038, 349, 340);
}
else
{
dialog.Text("Please take 500 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor2
case 5663:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Would you like to go ack to Guild Area in Twin City? l will teleport our members there free and charge nonmembers 500.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 500)
{
client.Entity.Money -= 500;
client.Entity.Teleport(1038, 349, 340);
}
else
{
dialog.Text("Please take 500 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor4
case 5665:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Would you like to go ack to Guild Area in Twin City? l will teleport our members there free and charge nonmembers 500.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 500)
{
client.Entity.Money -= 500;
client.Entity.Teleport(1038, 349, 340);
}
else
{
dialog.Text("Please take 500 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor3
case 5664:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Would you like to go ack to Guild Area in Twin City? l will teleport our members there free and charge nonmembers 500.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 500)
{
client.Entity.Money -= 500;
client.Entity.Teleport(1038, 349, 340);
}
else
{
dialog.Text("Please take 500 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
وده هترفعو علي النفكات
INSERT INTO `cq_npc` VALUES ('5640', '0', 'GuildConductor1', '0002', '1457', '1038', '0330', '0340', '0', '0');
INSERT INTO `cq_npc` VALUES ('5641', '0', 'GuildConductor2', '0002', '1467', '1038', '0337', '0339', '0', '0');
INSERT INTO `cq_npc` VALUES ('5642', '0', 'GuildConductor3', '0002', '1477', '1038', '0349', '0327', '0', '0');
INSERT INTO `cq_npc` VALUES ('5643', '0', 'GuildConductor4', '0002', '1487', '1038', '0346', '0321', '0', '0');
INSERT INTO `cq_npc` VALUES ('5662', '0', 'GuildConductor11', '0002', '1457', '1005', '0027', '0051', '0', '0');
INSERT INTO `cq_npc` VALUES ('5663', '0', 'GuildConductor22', '0002', '1467', '1015', '0788', '0556', '0', '0');
INSERT INTO `cq_npc` VALUES ('5664', '0', 'GuildConductor33', '0002', '1477', '1000', '0478', '0623', '0', '0');
INSERT INTO `cq_npc` VALUES ('5665', '0', 'GuildConductor44', '0002', '1487', '1001', '0328', '0322', '0', '0');
تحياتي للجميع واتمني يكون الموضوع نال رضاكم
اضافت ال اربع بنات بتوع ال جلدور فى سورس كودر
======================================
ارجو عند نقل الموضوع ذكر المصدر :عفواً لايمكن عرض الروابط في الإرشيف
وصاحب الموضوع :Diehard248
======================================
ضيف الكود في الملف الاتي في السورس
Dialogs.cs
#region GuildConductor1
case 5640:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Are you heading for the next teleporter? It is free for our members, and 1,000 silver for others.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Buy Guild Teleporter.", 255);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 1000)
{
client.Entity.Money -= 1000;
client.Entity.Teleport(1005, 35, 51);
}
else
{
dialog.Text("Please take 1000 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor2
case 5641:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Are you heading for the next teleporter? It is free for our members, and 1,000 silver for others.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Buy Guild Teleporter.", 255);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 1000)
{
client.Entity.Money -= 1000;
client.Entity.Teleport(1015, 794, 567);
}
else
{
dialog.Text("Please take 1000 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor3
case 5642:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Are you heading for the next teleporter? It is free for our members, and 1,000 silver for others.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Buy Guild Teleporter.", 255);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 1000)
{
client.Entity.Money -= 1000;
client.Entity.Teleport(1000, 489, 633);
}
else
{
dialog.Text("Please take 1000 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor4
case 5643:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Are you heading for the next teleporter? It is free for our members, and 1,000 silver for others.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Buy Guild Teleporter.", 255);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 1000)
{
client.Entity.Money -= 1000;
client.Entity.Teleport(1001, 335, 326);
}
else
{
dialog.Text("Please take 1000 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor1
case 5662:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Would you like to go ack to Guild Area in Twin City? l will teleport our members there free and charge nonmembers 500.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 500)
{
client.Entity.Money -= 500;
client.Entity.Teleport(1038, 349, 340);
}
else
{
dialog.Text("Please take 500 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor2
case 5663:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Would you like to go ack to Guild Area in Twin City? l will teleport our members there free and charge nonmembers 500.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 500)
{
client.Entity.Money -= 500;
client.Entity.Teleport(1038, 349, 340);
}
else
{
dialog.Text("Please take 500 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor4
case 5665:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Would you like to go ack to Guild Area in Twin City? l will teleport our members there free and charge nonmembers 500.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 500)
{
client.Entity.Money -= 500;
client.Entity.Teleport(1038, 349, 340);
}
else
{
dialog.Text("Please take 500 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region GuildConductor3
case 5664:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Would you like to go ack to Guild Area in Twin City? l will teleport our members there free and charge nonmembers 500.");
dialog.Link("Please teleport me there.", 1);
dialog.Link("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 500)
{
client.Entity.Money -= 500;
client.Entity.Teleport(1038, 349, 340);
}
else
{
dialog.Text("Please take 500 silvers to use guild teleporter.");
dialog.Link("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
وده هترفعو علي النفكات
INSERT INTO `cq_npc` VALUES ('5640', '0', 'GuildConductor1', '0002', '1457', '1038', '0330', '0340', '0', '0');
INSERT INTO `cq_npc` VALUES ('5641', '0', 'GuildConductor2', '0002', '1467', '1038', '0337', '0339', '0', '0');
INSERT INTO `cq_npc` VALUES ('5642', '0', 'GuildConductor3', '0002', '1477', '1038', '0349', '0327', '0', '0');
INSERT INTO `cq_npc` VALUES ('5643', '0', 'GuildConductor4', '0002', '1487', '1038', '0346', '0321', '0', '0');
INSERT INTO `cq_npc` VALUES ('5662', '0', 'GuildConductor11', '0002', '1457', '1005', '0027', '0051', '0', '0');
INSERT INTO `cq_npc` VALUES ('5663', '0', 'GuildConductor22', '0002', '1467', '1015', '0788', '0556', '0', '0');
INSERT INTO `cq_npc` VALUES ('5664', '0', 'GuildConductor33', '0002', '1477', '1000', '0478', '0623', '0', '0');
INSERT INTO `cq_npc` VALUES ('5665', '0', 'GuildConductor44', '0002', '1487', '1001', '0328', '0322', '0', '0');
تحياتي للجميع واتمني يكون الموضوع نال رضاكم