Jump to content

cartcountitem() & cartdelitem() script - Count or delete certain item in cart inventory


Cydh

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Information

This modification just like countitem() and delitem() that are provided by svn default. But these will count and delete items in player's cart inventory.

Maybe this is similar with @cartcountitem and @cartdelitem, yeah I made them and actually I made this custom script before making custom atcommand. :P

How to you use?

Attach this custom script, usually is used in NPC script

cartcountitem <item_id>;

cartdelitem <item_id>,<amount>;

Screenshots

post-5421-0-26939700-1359950779_thumb.jpgpost-5421-0-26570100-1359950795_thumb.jpgpost-5421-0-97793300-1359950810_thumb.jpgpost-5421-0-85709400-1359950824_thumb.jpgpost-5421-0-55960700-1359950839_thumb.jpgpost-5421-0-54386600-1359950862_thumb.jpgpost-5421-0-66152900-1359950878_thumb.jpgpost-5421-0-51127400-1359950894_thumb.jpg

Download

Sample NPCs script

**If you like this mods, could you rate this post and give me rep +1?**

**Idea is requested by someone, he wasn't able to pay me, so I release this as free mod.

:P**

Edited by cydh
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
Reply to this topic...

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