Jump to content
  • 0

R> OnSell NPC script


Reborn

Question


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

hello does anyone knows how to do this?

if the player click an NPC a Sell window will appear. Player can only sell one equipment at a time (only equipment item can be sell). If a player put 1x hat (ID: 2220) and click on sell, a progress bar will appear for 10 seconds and after that the player will get 1 or 2 Gold Coin (ID: 671). However if the player put 1x Cap (ID: 2226) and click on sell, a progress bar will appear for 10 seconds and after that the player will get 1 or 2 Bronze Coin (ID: 673).

If the player put an item other than the item mentioned above and the player click the sell button. The trade will be cancelled automatically.

I hope someone can help me on doing this.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

Anyone please help

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

ANYONE??

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