NetSchemes RPG Posted October 17, 2010 Share Posted October 17, 2010 I'm trying to make special items and collectibles, that I don't want to be made available on the Market. Even though I uncheck the "Item Buyable" box, I'm still able to sell the item through inventory and on the market... am I doing something wrong? Thanks! Quote Link to comment Share on other sites More sharing options...
corruptcity || skalman Posted October 17, 2010 Share Posted October 17, 2010 yeah in the items table add item sellable then for the items that you dont want to be sallable set it to 1then in the itemsell.php or w/e put a check to make sure the item doesnt have a 1 there if not sell else error msg out Quote Link to comment Share on other sites More sharing options...
NetSchemes RPG Posted October 19, 2010 Author Share Posted October 19, 2010 Thank you. Quote Link to comment Share on other sites More sharing options...
corruptcity || skalman Posted October 19, 2010 Share Posted October 19, 2010 nps just holla if u get any other probs Quote Link to comment Share on other sites More sharing options...
Curt Posted October 19, 2010 Share Posted October 19, 2010 hello, Another way you could do this with out adding a field to your items is simply make a new Item Type for your non sellable items, then in the inventory script add a bit of code that checks if its that item type and if it is then don't sell...simple :) would also need to edit the itemsell script incase someone changes the item id to the non sellable item :P but the above way will work as well... cheers Quote Link to comment Share on other sites More sharing options...
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.