[]
النبس بيغير الشخصية بى فلوس او سى بى اس
دى بيغيرة بى سى بى اس
دلوقتى هتفتح C#
وعدين تفتحNPCDialog
كود PHP:
#region jobs changer
كود PHP:
case 50120:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Would you like to change your job only for its only for 2kk CPS"));
GC.AddSend(Packets.NPCLink("Sure!", 1));
GC.AddSend(Packets.NPCLink("No thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
GC.AddSend(Packets.NPCSay("Alright choose the job."));
GC.AddSend(Packets.NPCLink("Trojan", 4));
GC.AddSend(Packets.NPCLink("Warrior", 5));
GC.AddSend(Packets.NPCLink("Archer", 6));
GC.AddSend(Packets.NPCLink("WaterTaoist", 7));
GC.AddSend(Packets.NPCLink("FireTaoist",
);
GC.AddSend(Packets.NPCLink("Ninja", 9));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 4)
{
if (GC.MyChar.CPs >= 2000000)
{
GC.MyChar.Job = 15;
GC.MyChar.CPs -= 2000000;
}
else
{
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 5)
{
if (GC.MyChar.CPs >= 2000000)
{
GC.MyChar.Job = 25;
GC.MyChar.CPs -= 2000000;
}
else
{
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 6)
{
if (GC.MyChar.CPs >= 2000000)
{
GC.MyChar.Job = 45;
GC.MyChar.CPs -= 2000000;
}
else
{
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 7)
{
if (GC.MyChar.CPs >= 2000000)
{
GC.MyChar.Job = 135;
GC.MyChar.CPs -= 2000000;
}
else
{
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control ==
{
if (GC.MyChar.CPs >= 2000000)
{
GC.MyChar.Job = 145;
GC.MyChar.CPs -= 2000000;
}
else
{
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 9)
{
if (GC.MyChar.CPs >= 2000000)
{
GC.MyChar.Job = 55;
GC.MyChar.CPs -= 2000000;
}
else
{
GC.AddSend(Packets.NPCSay("You don't have enough Cps."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
ودى فى NPC
كود PHP:
50120 8360 2 67 1002 441 374