Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static unsafe Map dynamicMap;
- #region Monster/items/only 1 in day
- case 30160:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- if (client.Entity.Level >= 1)
- {
- dialog.Text("Cant join in Houes you Uesd It .");
- dialog.Option("Thanx [Gm].", 255);
- dialog.Avatar(116);
- dialog.Send();
- break;
- }
- dialog.Text("The~Map~is~open.~Welcome~to~challenge~other~people.~The~admission~fee~is~only~50~silver.If~you~PK~in~the~map,~you~will~not~gain~or~lose~any~experience~or~items~equipped,~and~will~get~revived~at~the~place~you~die.The~Kungfu~circle~is~very~dangerous,~I~suggest~you~PK~in~area.");
- dialog.Option("Enter~the~map.", 1);
- dialog.Option("Just~passing~by.", 255);
- dialog.Avatar(7);
- dialog.Send();
- break;
- }
- case 1:
- {
- {
- if (!Kernel.Maps.ContainsKey(3081))
- new Map(3081, Database.DMaps.MapPaths[3081]);
- Map origMap = Kernel.Maps[3081];
- dynamicMap = origMap.MakeDynamicMap();
- client.Entity.Teleport(origMap.ID, dynamicMap.ID, 50, 40);
- }
- break;
- }
- }
- break;
- }
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement