Jump to content
  • 0
Sign in to follow this  
RiverStyx

Exclude range of specific items from a map

Question

Now, I'm not sure if this is perfectly easy without being very specific in the script, but does anyone know if there's a way to check if a player has in their inventory/cart a large range of items?

 

Basically looking to exclude customs from being on a map, without having a very long and detailed script excluding everything between item ID X and Y.

 

I want to exclude the following item IDs and range of IDs

 

 
4480 - 4544
12211
12909
13602
13603
13634 - 13645
14144 - 14212
20000 - 30995
 
 
Edit: Nevermind, I can just add a getmapxy (.@map$,.@x,.@y,0); if(.@map$ == "mapname") {  end; } to those items. <3
 
Edited by RiverStyx

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.