narien123 Posted April 10, 2015 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 39 Reputation: 0 Joined: 03/06/15 Last Seen: July 27, 2015 Share Posted April 10, 2015 how to set player cant use 2 same Accessory 2629 in 1 char Quote Link to comment Share on other sites More sharing options...
Tranquility Posted April 10, 2015 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 118 Reputation: 17 Joined: 01/29/15 Last Seen: January 5, 2020 Share Posted April 10, 2015 From the top of my head it should roughly be something like this.. Insert in on_equip script: if(getequipid(EQI_ACC_L == 2629) || getequipid(EQI_ACC_R == 2629)) {calfunc "Example";} Put this in your custom NPC scripts. function script Example { unequip(EQI_ACC_L) && unequip(EQI_ACC_R); message strcharinfo(0),"Cant Wear More than 2 Megingjard."; } Take a look at doc/script_commands.txt for further documentation. Let me know if it works. Quote Link to comment Share on other sites More sharing options...
narien123 Posted April 11, 2015 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 39 Reputation: 0 Joined: 03/06/15 Last Seen: July 27, 2015 Author Share Posted April 11, 2015 From the top of my head it should roughly be something like this.. Insert in on_equip script: if(getequipid(EQI_ACC_L == 2629) || getequipid(EQI_ACC_R == 2629)) {calfunc "Example";} Put this in your custom NPC scripts. function script Example { unequip(EQI_ACC_L) && unequip(EQI_ACC_R); message strcharinfo(0),"Cant Wear More than 2 Megingjard."; } Take a look at doc/script_commands.txt for further documentation. Let me know if it works. Im using 3Ceam , Dont have on_equip Quote Link to comment Share on other sites More sharing options...
Tranquility Posted April 11, 2015 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 118 Reputation: 17 Joined: 01/29/15 Last Seen: January 5, 2020 Share Posted April 11, 2015 As far as this documentation says, you do:https://3ceam.googlecode.com/svn/trunk/rewrite/doc/item_db.txt Quote Link to comment Share on other sites More sharing options...
Question
narien123
how to set player cant use 2 same Accessory 2629 in 1 char
Link to comment
Share on other sites
3 answers 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.