Jump to content
  • 0

Remove put option from npc


Question

Posted

Português:

Alguem pode me dizer como remover a opção que um npc tem de um jogador conseguir vender seus itens em um npc ?

Só quero preservar a opção de comprar coisas, mas não quero que jogadores vendam itens no npc...

Inglês:

Can someone tell me how to remove an npc's option for a player to be able to sell their items on an npc?

I just want to preserve the option to buy things, but I don't want players to sell items on npc ...

 

1 answer to this question

Recommended Posts

  • 0
Posted

you can try deleting this part on a separate function 

 

		switch (flag) {
			case 1: npc_buysellsel(sd,nd->bl.id,0); break; //Buy window
			case 2: npc_buysellsel(sd,nd->bl.id,1); break; //Sell window
			default: clif_npcbuysell(sd,nd->bl.id); break; //Show menu
		}
			case 2: npc_buysellsel(sd,nd->bl.id,1); break; //Sell window

 

could be the other one though

  • MVP 1

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