preciso de um help com um kit aqui.
if getPlayerStorageValue(cid, 54842) ~= 1 thenlocal health = 1000
local maxhealth = 1000
local description = "Contains a Charmander."
local poke1 = "This is Charmander pokeball. HP = ["..health.."/"..maxhealth.."]"
item = doCreateItemEx(2219)
doItemSetAttribute(item, "poke", poke1)
doItemSetAttribute(item, "nome", "Charmander")
doItemSetAttribute(item, "description", description)
doPlayerAddItemEx(cid, item, true)
doTransformItem(item, 2222)
doPlayerSendTextMessage(cid, 27, "Voce pegou um pokemon.")
doPlayerSendTextMessage(cid, 27, "Nao esqueca de usar a Pokedex para descobrir mais sobre pokemons na sua jornada!")
doPlayerAddExp(cid, 9300)
doPlayerAddItem(cid, 7885, 2)
doPlayerAddItem(cid, 2160, 20)
doPlayerAddItem(cid, 2289, 1)
doPlayerAddItem(cid, 2146, 50)
doSendMagicEffect(pox, 21)
doPlayerAddSoul(cid, 1)
setPlayerStorageValue(cid, 54842, 1)
else
doPlayerSendTextMessage(cid, 27, "Voce ja pegou o pokemon.")
end
return TRUE
end
na minha opiniao falta o storage mais aonde eu posso achar?.