Fala galera beleza, Hoje venho pedir a vocês como faço para mudar, o Pokémon inicial estou usando o server do Gabrieltxu 3.1.1
Grato do REP![]()
Fala galera beleza, Hoje venho pedir a vocês como faço para mudar, o Pokémon inicial estou usando o server do Gabrieltxu 3.1.1
Grato do REP![]()
acho q é.. data/action/script/starter.lua
Project Pokémon Mysterion OpenSoures 2016.
Em breve, mais informações!

E Sim Stylo E La Mesmo Vai Tar Tipo Assim
local starterpokes = {
["Squirtle"] = {x = 53, y = 70, z = 7},
["Charmander"] = {x = 49, y = 70, z = 7}, --Alterado por min, stylo para meu MAPA'
["Bulbasaur"] = {x = 51, y = 70, z = 7},
["Totodile"] = {x = 47, y = 70, z = 7},
["Cyndaquil"] = {x = 45, y = 70, z = 7},
["Chikorita"] = {x = 43, y = 70, z = 7},
}
local btype = "normal"
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) > 5 then --alterado v1.3
return true
end
local pokemon = ""
for a, b in pairs (starterpokes) do
if isPosEqualPos(topos, b) then
pokemon = a
end
end
if pokemon == "" then return true end
if getPlayerStorageValue(cid, 9658754) ~= 1 then --alterado v1.7 -opicional-
sendMsgToPlayer(cid, 27, "Talk to the Prof. Robert to choose your beginner {city first}/Falê com o Prof. Robert para escolher sua {cidade primeiro}!")
return true
end
local gender = getRandomGenderByName(pokemon)
local happy = 250
doPlayerAddItem(cid, 2394, 50)
doPlayerAddItem(cid, 2392,15)
doPlayerAddItem(cid, 2393,25)
doPlayerAddItem(cid, 12343,5) --Alterado por min, Stylo ' "KIT INICIAL"~~
doPlayerAddItem(cid, 12346,20)
doPlayerAddItem(cid, 12348,30)
doPlayerAddItem(cid, 12222,100)
doPlayerAddItem(cid, 2391,25)
doPlayerAddItem(cid, 2152, 20) -- 2k ~~
local item = doCreateItemEx(2219)
doItemSetAttribute(item, "poke", pokemon)
doItemSetAttribute(item, "hp", 50)
doItemSetAttribute(item, "happy", happy)
doItemSetAttribute(item, "gender", gender)
doItemSetAttribute(item, "description", "Contains a "..pokemon..".")
doItemSetAttribute(item, "fakedesc", "Contains a "..pokemon..".")
doItemSetAttribute(item, "unique", getCreatureName(cid)) --alterado v1.6
doPlayerAddItemEx(cid, item, true)
doTransformItem(item, pokeballs[btype].on)
doPlayerSendTextMessage(cid, 27, "You got your first pokemon! You also received some pokeballs to help you in your way.")
doPlayerSendTextMessage(cid, 27, "Don\'t forget to use your pokedex on every undiscovered pokemon!")
doSendMagicEffect(getThingPos(cid), 28)
doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))
doSendMagicEffect(getThingPos(cid), 27)
doSendMagicEffect(getThingPos(cid), 28)
return TRUE
end
Ai Terar O nome Do Poke A Posição Do Bau Ai E So Trocar.
Dei rep pra vcs duvida sanada.
Reportado Para Que Movam.
Scripter em Treinamento
Codigos
Simples Pet Sistema < New
Assim que possivel mais codigos, com criatividade.
Tópico movido para a seção de dúvidas e pedidos resolvidos.
"O fracasso é a oportunidade de se começar de novo inteligentemente"
Minhas Redes Sociais: Steam