ZoeyGurl Posted June 29, 2016 Share Posted June 29, 2016 I am trying to sell keys in my NPC's container that can be purchased for an apartment etc.but they dont show up in game. How do I go about doing this? :confused: I looked for a thread for this and didnt see anything and if this is the wrong place for this questionI apologize. Still learning. Link to comment Share on other sites More sharing options...
Ladez Posted June 30, 2016 Share Posted June 30, 2016 Keys cannot be bought or sold. You can get around this limitation by making a misc. item with a script that replaces it with the key item when added to the players inventory. begin onAdd player player.addItem KeyItem 1 removeMe end Then you can put the misc. item for sale instead. Link to comment Share on other sites More sharing options...
ZoeyGurl Posted June 30, 2016 Author Share Posted June 30, 2016 (edited) Keys cannot be bought or sold. You can get around this limitation by making a misc. item with a script that replaces it with the key item when added to the players inventory. begin onAdd player player.addItem KeyItem 1 removeMe end Then you can put the misc. item for sale instead.Thank you so much! I will try this. :thumbsup: Answered.. Edited June 30, 2016 by ZoeyGurl Link to comment Share on other sites More sharing options...
Recommended Posts