waleed90 Posted July 2, 2016 Posted July 2, 2016 (edited) helloi need to change Poring Coin scriptwhen double click give 1 cash pointand can any one sell iti found many topic but did not work Edited July 2, 2016 by waleed90 Quote
0 Kurofly Posted July 2, 2016 Posted July 2, 2016 Can't you just change the item type and add a script?? 7539,Poring_Coin,Poring Coin,3,0,,0,,,,,,,,,,,,,{},{},{} remplace to 7539,Poring_Coin,Poring Coin,2,0,,0,,,,,,,,,,,,,{#CASHPOINTS++;},{},{} And if you want to put restrictions: Item RestrictionsLook on your db folder for a file called item_trade.txt and open it Now, the pattern for a flag is:Item ID, TradeMask, GM-Level Override Item ID: the ID of your item. TradeMask: Testrictions the item will have, such as being dropped, stored or traded. These values can be combined to achieve multiple effects. 1:Item can't be dropped2:Item can't be traded (nor vended)4:Item can only be traded with wedded partner8:Item can't be sold to NPCs16:Item can't be placed in the cart32:Item can't be placed in the storage64:Item can't be placed in the guild storage GM-Level Override: This is the minimum GM level a player must have to avoid these restrictions. Say thanks to the wiki Quote
0 waleed90 Posted July 2, 2016 Author Posted July 2, 2016 thank you for replyi change it but when i double click nothing happen Quote
0 nanakiwurtz Posted July 2, 2016 Posted July 2, 2016 You forget the Class, Jobmask and Gender 0xFFFFFFFF,63,2 1 Quote
0 Kurofly Posted July 2, 2016 Posted July 2, 2016 Oh yeah xD you're right. Wow it's been a long time since I added new items, I need to get back to that 2 Quote
Question
waleed90
hello
Edited by waleed90i need to change Poring Coin script
when double click give 1 cash point
and can any one sell it
i found many topic but did not work
5 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.