nevix
Tunzodus.net
Here my lua script
How create item with Unique ID?
Code:
local t = {
sec = 5,
sec2 = 5,
portal = {x = 32346, y = 32224, z = 7},
portalwhere = {x = 32347, y = 32219, z = 7},
itemid = 11796,
active = 2
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Working.")
doCreateItem(t.itemid,1,t.portal)
end
How create item with Unique ID?