function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 2121 then
local pos = getCreaturePosition(cid)
local monster = doCreateMonster("demon", pos)
doConvinceCreature(cid, monster)
return 1
end
end
I need to create effect on the position, where demon appear. How to do?