Jump to content

Question

2 answers to this question

Recommended Posts

  • 0
Posted
18 hours ago, balanar12321 said:

https://upaste.me/aae1533814572094f

how to make this a gm Switch, and add a Start Event? and when the event start, when the players click this npc, they will warp to the event room




Here

prontera,x,y,3	script	testGM	99,{
		if (getgmlevel() <= 90 ) goto GM_Menu;
		mes "[ Test NPC ]";
		mes "This is where it go if you are normal player";
		switch(select("Menu 1","Menu 2","Exit")){
				case 1:
						mes "Menu 1 dialog";
						end;
				case 2:
						mes "Menu 2 dialog";
						end;
				case 3:
						mes "Exiting Bye";
						end;
		}
		end;
GM_Menu:
		mes "[ Test NPC ]";
        mes "You are now in GM Menu";
		switch(select("GM Menu 1","GM Menu 2","Exit")){
				case 1:
						mes "GM Menu 1 dialog";
						end;
				case 2:
						mes "GM Menu 2 dialog";
						end;
				case 3:
						mes "Exiting Bye";
						end;
		}
		end;
}

 

  • 0
Posted
On 10/28/2020 at 3:39 PM, Poring King said:




Here


prontera,x,y,3	script	testGM	99,{
		if (getgmlevel() <= 90 ) goto GM_Menu;
		mes "[ Test NPC ]";
		mes "This is where it go if you are normal player";
		switch(select("Menu 1","Menu 2","Exit")){
				case 1:
						mes "Menu 1 dialog";
						end;
				case 2:
						mes "Menu 2 dialog";
						end;
				case 3:
						mes "Exiting Bye";
						end;
		}
		end;
GM_Menu:
		mes "[ Test NPC ]";
        mes "You are now in GM Menu";
		switch(select("GM Menu 1","GM Menu 2","Exit")){
				case 1:
						mes "GM Menu 1 dialog";
						end;
				case 2:
						mes "GM Menu 2 dialog";
						end;
				case 3:
						mes "Exiting Bye";
						end;
		}
		end;
}

 

Thanks sir

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...