Guest User

Untitled

a guest
Apr 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. function onStepIn(cid, item, fromPos, itemEx, toPos)
  2.     if isPlayer(cid) and doPlayerRemoveItem(cid, 6500, 5) then
  3.             doTeleportThing(cid, {x = 000, y = 000, z = 0}, true)
  4.             doCreatureSay(cid, "You have successfully sacrificed 5 demonic essences to go through the portal!", TALTYPE_ORANGE_1)
  5.         else
  6.             doCreatureSay(cid, "You need to sacrifice 5 demon essences to go through the portal!", TALKTYPE_ORANGE_1)
  7.            
  8.             end
  9.         return true
  10. end
Add Comment
Please, Sign In to add comment