Advertisement
RoksasNunes

ScriptFire

Apr 20th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  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.         end
  12.             return true
  13.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement