What I want is to make a change Npc your current Guild by one of A Link
I thought it would be something like this
PHP Code:
#region GateMan
case 10010:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hi, what guild you want?");
dialog.Option("I want see.", 1);
dialog.Option("Helpp...", 255);
dialog.Send();
break;
}
case 1:
{
dialog.Text("Please select the Guild If you want the best...");
dialog.Option("Abaddon", 2);
dialog.Option("Eniolum .", 3);
dialog.Option("I'm Scared.", 255);
dialog.Send();
break;
}
case 2:
{
client.Entity.GuildID = 585;
client.Screen.Reload(null);
client.Send(new Message("Abaddon.", System.Drawing.Color.Green, Message.PopUP));
break;
}
case 3:
{
client.Entity.GuildID = 586;
client.Screen.Reload(null);
client.Send(new Message("Eniolum.", System.Drawing.Color.Green, Message.PopUP));
break;
}
}
break;
}
#endregion
Could give me a hand?
Thank you and sorry By my bad english






