Jump to content
  • 0
dalubhasa333

NPC for specific guild name

Question

Hi,

 

Im new here i would like to as if this is possible. access cashshop,tool dealer, getitem, etc from NPC but it is only accessible for 1 guild only ex = MyGuild, if click by other player with or without guild the NPC will welcome only the player, but if click by player member of MyGuild the cashshop tool dealer get item and etc window will pop up. 

 

Thank you my engilish is not good

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

something like this:

 

prontera,150,150,3	script	NPC NAME	1_F_SIGNZISK,{
	if (strcharinfo(PC_GUILD) != "Guild Name") {
		mes "Sorry, you are not allowed to talk to me.";
		close;
	}
	// rest of the code that will be executed by the players
}

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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