Jump to content

  •  

Photo

Exclude range of specific items from a map


  • Please log in to reply
No replies to this topic

#1 RiverStyx

RiverStyx

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 15 December 2014 - 08:54 PM

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, 15 December 2014 - 11:08 PM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 17 user(s)