Jump to content
  • 0

Item Restriction


Question

Posted

Hello Guys do you have a script that restrict items in a certain map, even the equip cards?

For example: ALL MVP Cards and All Donation Items are Restricted in a certain map. even it is Equip or Unequip it is restricted.

and if the player have this items, they're automatically warp back home.

i Hope you understand what i'm trying to say here ^_^

Thanks you very much!

3 answers to this question

Recommended Posts

Posted

try this

http://pastebin.com/raw.php?i=3PrnkSNL

trunk/db/re/item_db.txt

2236,Santa's_Hat,Santa Hat,5,20,,100,,1,,0,0xFFFFFFFF,7,2,256,,0,1,20,{ bonus bMdef,1; bonus bLuk,1; },{},{  doevent "Sample#xmas::OnKick";  }

Maybe you can use this... He posted it lol...^^^^^^^^^

Just put it one by one in the item_db.txt and just use the OnKick: for the npc script...

btw, I just knew about this way.. so I haven't tried... :D

Just share what I've just learned.. :)

Posted

you can try this..

Sir i try this but when i load it, it's looking for x,y coordinates..

try this

http://pastebin.com/raw.php?i=3PrnkSNL

trunk/db/re/item_db.txt

2236,Santa's_Hat,Santa Hat,5,20,,100,,1,,0,0xFFFFFFFF,7,2,256,,0,1,20,{ bonus bMdef,1; bonus bLuk,1; },{},{  doevent "Sample#xmas::OnKick";  }

Maybe you can use this... He posted it lol...^^^^^^^^^

Just put it one by one in the item_db.txt and just use the OnKick: for the npc script...

btw, I just knew about this way.. so I haven't tried... :D

Just share what I've just learned.. :)

try this

http://pastebin.com/raw.php?i=3PrnkSNL

trunk/db/re/item_db.txt

2236,Santa's_Hat,Santa Hat,5,20,,100,,1,,0,0xFFFFFFFF,7,2,256,,0,1,20,{ bonus bMdef,1; bonus bLuk,1; },{},{  doevent "Sample#xmas::OnKick";  }

Maybe you can use this... He posted it lol...^^^^^^^^^

Just put it one by one in the item_db.txt and just use the OnKick: for the npc script...

btw, I just knew about this way.. so I haven't tried... :D

Just share what I've just learned.. :)

Hi sir.. do you have other one? item equipped or unequipped are restricted.. because here u need to equip it..

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...