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

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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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