SHOW:
|
|
- or go back to the newest paste.
| 1 | local look = 127 -- Looktype do Outfit que irĂ¡ ganhar! | |
| 2 | ||
| 3 | function onUse(cid, item, frompos, item2, topos) | |
| 4 | if getPlayerStorageValue(cid, 18039) == -1 then | |
| 5 | doPlayerAddOutfit(cid, look, 3) | |
| 6 | setPlayerStorageValue(cid, 18039, 1) | |
| 7 | doPlayerSendTextMessage(cid, 20, "Quest completa, addon recebido!") | |
| 8 | else | |
| 9 | doPlayerSendTextMessage(cid, 20, "I'ts empty!") | |
| 10 | end | |
| 11 | return true | |
| 12 | end |