Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onStepIn(cid, item, fromPos, itemEx, toPos)
- if isPlayer(cid) and doPlayerRemoveItem(cid, 6500, 5) then
- doTeleportThing(cid, {x = 000, y = 000, z = 0}, true)
- doCreatureSay(cid, "You have successfully sacrificed 5 demonic essences to go through the portal!", TALTYPE_ORANGE_1)
- else
- doCreatureSay(cid, "You need to sacrifice 5 demon essences to go through the portal!", TALKTYPE_ORANGE_1)
- end
- return true
- end
Add Comment
Please, Sign In to add comment