Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cfg = {
- fireBug = 5468,
- teleportPos = {x = 500, y = 400, z = 7},
- }
- function onUse(cid, item, frompos, item2, topos)
- if item2.itemid == cfg.fireBug then
- doTeleportThing(cid, cfg.teleportPos)
- doSendAnimatedText(getCreaturePosition(cid), "PERMISSION", math.random(1, 30))
- doRemoveItem(item.uid, 1)
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement