The item does not disappear after being used.

11/28/2017 04:32 MooPlE#1
Hello! I created an item for my server ... but I have a small problem.
The function of the item: When clicking the player earns 2250cps.

When the player clicks on the item he will win 2250cps, but when I click on the item, he gives the 2250 cps to the player, but does not leave his inventory.

I need help!
but thank you des already!
11/28/2017 04:38 Spirited#2
Wrong section, and we can't help you. We don't have your source code. We don't have any context on what calls you need to be making, what you've tried, and why it isn't working. Ultimately, it comes down to the fact that you have no idea how to program or develop for your server. This is a problem that you need to solve on your own and are expected to solve on your own. If you don't know how to program, you shouldn't be running a private server.
11/29/2017 05:15 snipetime#3
To get you going, look at an item that does get deleted from the inv after use. For example Stancher search what I'd the item has then look in the source what happens with id. Compare that piece of code with the code from the 2250cps item. This should ring a bell. If not start learning the basics from c# because this is a very easy fix.
11/29/2017 15:38 wshbr#4
#moved