ussa esse mano mesmo e o mesmo que o seu e meu servidor também tem iconi sistem
local config = {
[12304] = {pokemon = "Bulbasaur", balltype = "normal"},
[12305] = {pokemon = "Caterpie", balltype = "normal"},
[12306] = {pokemon = "Clefairy", balltype = "normal"},
[12307] = {pokemon = "Charmander", balltype = "normal"},
[12308] = {pokemon = "Eevee", balltype = "normal"},
[12309] = {pokemon = "Ekans", balltype = "normal"},
[12310] = {pokemon = "Exeggcute", balltype = "normal"},
[12311] = {pokemon = "Goldeen", balltype = "normal"},
[12312] = {pokemon = "Horsea", balltype = "normal"},
[12313] = {pokemon = "Kabuto", balltype = "normal"},
[12314] = {pokemon = "Krabby", balltype = "normal"},
[12315] = {pokemon = "Magikarp", balltype = "normal"},
[12316] = {pokemon = "Oddish", balltype = "normal"},
[12317] = {pokemon = "Pidgey", balltype = "normal"},
[12318] = {pokemon = "Poliwag", balltype = "normal"},
[12319] = {pokemon = "Psyduck", balltype = "normal"},
[12320] = {pokemon = "Shellder", balltype = "normal"},
[12321] = {pokemon = "remoraid", balltype = "normal"},
[12322] = {pokemon = "Squirtle", balltype = "normal"},
[12323] = {pokemon = "Vulpix", balltype = "normal"},
[12324] = {pokemon = "azumarill", balltype = "normal"},
}
function onUse(cid, item, frompos, item2, topos)
local egg = config[item.itemid]
if not egg then return true end
local pokemon = egg.pokemon
local btype = egg.balltype
if not pokeballs[btype] then return true end
doPlayerSendTextMessage(cid, 27, "Voce abriu um ovo de Pokemon!")
doPlayerSendTextMessage(cid, 27, "O pokemon premiado era um "..pokemon..", Parabéns!")
doSendMagicEffect(getThingPos(cid), 29)
addPokeToPlayer(cid, pokemon, 0, nil, btype)
doRemoveItem(item.uid, 1)
return true
end
-- egg system
<action itemid="12304;12305;12306;12307;12308;12309;12310;12311;12312;12313;12314;12315;12316;12317;12318;12319;12320;12321;12322;12323-12324" event="script" value="eggs.lua"/>