Jump to content
  • 0
balanar12321

NPC GM Switch

Question

2 answers to this question

Recommended Posts

  • 0
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;
}

 

Link to comment
Share on other sites

  • 0
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

 

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.