Vai no actions crie um arquivo .lua chamado BauV e cole isso \/
local btype = "normal"
local pokemon = "Charizard" -- NOME DO POKEMON
function onUse(cid, item, fromPosition, itemEx, toPosition)
if doPlayerRemoveItem(cid, 2160, 100) then -- ITEM E QUANTIDADE DO ITEM
doPlayerSendTextMessage(cid, 18, "Parabéns Voce Comprou Seu Pokemon \n By Pokemon X Ice")
else
doPlayerSendCancel(cid, "Você precisa de 100 notas azul")
return true
end
if pokemon == "" then return true end
addPokeToPlayer(cid, pokemon, 0, nil, btype, true)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você recebeu seu Pokemon Parabéns!")
return true
end
tag:
<action actionid="55555" event="script" value="BauV.lua"/>
By Pokemon X Fire