okay so i made a script that when u step on a certain position it creates
function onStepIn(cid, item, pos)
if isPlayer(cid) == TRUE then
doSendMagicEffect(getPlayerPosition(cid), 5)
doCreateItem(5421, count, {x=660,y=354,z=9})
end
return TRUE
end
it works fine but i was wondering if you could make the item created get created with a unique id that u chose. im new to scripting so i dont really know
function onStepIn(cid, item, pos)
if isPlayer(cid) == TRUE then
doSendMagicEffect(getPlayerPosition(cid), 5)
doCreateItem(5421, count, {x=660,y=354,z=9})
end
return TRUE
end
it works fine but i was wondering if you could make the item created get created with a unique id that u chose. im new to scripting so i dont really know