I created an item in which the function was from cps.
When clicking the item, it gives you 2250cps, but the item does not disappear from the inventory.
I would like it when clicking on the item, and the same dasse 2250 cps to the player and disappears from your inventory.
I will post the code ...
Code Database "ZF":
Itemtype Cliente:Quote:
721389 KOS~Blue~Card 0 0 0 0 0 0 0 0 8 0 0 7403310 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Itemtype Sourcer:Quote:
721389 KOS~Blue~Card 0 0 0 0 0 0 0 0 8 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 QuestItem [KOSCard]~Exchange~for~2250CPS 6
Action:Quote:
721389 KOS~Blue~Card 0 0 0 0 0 0 0 0 8 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 QuestItem [KOSCard]~Exchange~for~2250CPS 6
this "action" and just as an example.Quote:
7403310 7403312 7403311 508 5
7403311 0 0 1010 2005 There are no five slots in you inventory.
7403312 7403313 0 502 723711
7403313 7403314 0 501 1088002
7403315 7403316 0 501 1088002
7403316 7403317 0 501 1088002
7403317 7403318 0 501 1088002
7403318 0 0 1010 2005 Congratulations! You have got five MeteorTears.
I could not find a tutorial related to creating items in the forum. I have trouble with English






