Code:
function onSay(player, words, param)
local function removeitem(position)
local removeitem = Tile(position):getItemById(1754)
if teleportItem then
teleportItem:remove()
position:sendMagicEffect(CONST_ME_POFF)
end
end
player:addItem(1754, 1)
addEvent(removeitem, 10,position)
return true
end
I am trying to make the player create an item in his position and...
addEvent