PEQ: Expendable item not deleting?
So I made a type 21:Potion, it uses a Script File ID:, Under spells I set it as an Expendable and kept the Click Effect to -1.
After restarting the server (just in case) and #giveitem to my player, the Script file runs fine but the item doesn't disappear. I'm not sure if this is something I'm missing on the PeQ side or something I need to add on the Script File side? |
It looks like this will work, but will also delete the whole stack and just a single one.
Code:
$client->NukeItem($itemid); |
Give it 1 charge and set it to potion.
|
Quote:
I do have it that way. Hmmm. |
Looks like Sturm put a dummy spell on the items he does.
Try this spell on it 11560 - Open Gift |
Quote:
Side note for others (or more honestly for my future self). Code:
$client->removeitem($itemid,1); |
All times are GMT -4. The time now is 06:11 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.