Quote:
Originally Posted by chihabanti
how can i make a gift box ?
what table are used ?
thnx
|
go into ur itemResource
look this item ID 1100101
Copy this to another id exemple 11001010
look script case = on_use_item
edit string / icon etc
and after go in darkmarket.lua
and add this
if ID = 11001010 then -- change 11001010 if u set other id in ur itemresource
delete_item( get_item_handle( ID ), 1 )
-- here change item_id per ur gift list
insert_item( item_id , 1 )
insert_item( item_id , 1 )
insert_item( item_id , 1 )
end