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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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