I have this script... see.
How do i get the Demon can't be summoned again when passing through the floor more than once?
Code:
local demonPos = { x = 16498, y = 15650, z = 12 }
function onStepIn(cid, item, position, fromPosition)
if item.uid == 36202 and isPlayer(cid) == TRUE and getPlayerSlotItem(cid, 2).itemid == 2173 then
doSummonCreature("Demon", demonPos)
end
end
How do i get the Demon can't be summoned again when passing through the floor more than once?