SHOW:
|
|
- or go back to the newest paste.
| 1 | local levelnes = 300 -- Necessary level | |
| 2 | ||
| 3 | - | function onUse(cid, item, frompos, item2, fromPosition) |
| 3 | + | function onUse(cid, item, frompos, item2) |
| 4 | ||
| 5 | - | return doPlayerSendTextMessage(cid,22,"VocĂȘ precisa ter level "..levelnes.." para passar!") |
| 5 | + | |
| 6 | - | end |
| 6 | + | doPlayerSendTextMessage(cid,22,"VocĂȘ precisa ter level "..levelnes.." para passar!") |
| 7 | return true | |
| 8 | end | |
| 9 | - | doTeleportThing(cid, fromPosition, true) |
| 9 | + | |
| 10 | doTransformItem(item.uid, item.itemid + 1) | |
| 11 | doTeleportThing(cid, frompos, true) | |
| 12 | return true | |
| 13 | end |