u need one lua file , npc ressource db and market ressource DB
in the market ressource u write to sell your items
in the nPC ressource u create your own npc with name design and ! the contact name
so in the lua file u write ur npc contact name i will show u the lua step so
function NPC_???_???_contact() <<<<< Your Contact Name
-- new shop
dlg_title( "??My Shop??" ) <<<< ingame Table name of your Shop
dlg_text( "Hello ?!" )<< What he speaks if u klick of him
dlg_menu( "?????", "open_market( 'ver_item' )" ) <<<< your Menü tab and your Item discription on the market ressource here
dlg_menu( "@90010002", '' )
dlg_show()
end
|