Advertisement
RoksasNunes

Eae

Apr 12th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local levelnes = 300 -- Necessary level
  2.  
  3. function onUse(cid, item, frompos, item2)
  4.  
  5.         if getPlayerLevel(cid) < levelnes then
  6.                 doPlayerSendTextMessage(cid,22,"Você precisa ter level "..levelnes.." para passar!")
  7.             return true
  8.             end
  9.        
  10.         doTransformItem(item.uid, item.itemid + 1)
  11.                 doTeleportThing(cid, frompos, true)
  12.                         return true
  13.                 end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement