Jump to content
  • 0
Sign in to follow this  
Helena

delitem all amount of 1 type?

Question

Hi Hercules!

 

Question, i have made a event but would like for players not to be let in with certain items.

 

How do i delete all the said items? for example, a player is carrying 50 blue potions but i want to delete those as well as anything under that amount (i.e they've used 2, it should still delete the remaining 48). delitem only works per specific amount, Ive input 50 but it gives a map-server error if i have less than that in my inventory.

 

How will i achieve this?

 

Thanks! :)

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.