Advertisement
RoksasNunes

Iaemlk2

Apr 20th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local cfg = {
  2.     fireBug = 5468,
  3.     teleportPos = {x = 500, y = 400, z = 7},
  4. }
  5.  
  6. function onUse(cid, item, frompos, item2, topos)
  7.  
  8.     if item2.itemid == cfg.fireBug then
  9.         doTeleportThing(cid, cfg.teleportPos)
  10.             doSendAnimatedText(getCreaturePosition(cid), "PERMISSION", math.random(1, 30))
  11.                 doRemoveItem(item.uid, 1)
  12.             end
  13.                 return true
  14.             end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement