Eai galera do XTibia :happy:
Eu vim aqui pra saber como arruma o Starter.lua? Eu uso o "Pokémon Skyfall by Gabrieltxu", e coloquei outro mapa, eu já fiz o lugar dos pokémons iniciais, mais n pega, meu starter.lua ta assim:
local starterpokes = {
["Abra"] = {x = 2389, y = 1866, z = 7},["Torchic"] = {x = 2395, y = 1866, z = 7},["Cyndaquil"] = {x = 2389, y = 1870, z = 7},["Charmander"] = {x = 2400, y = 1870, z = 7},["Turtwig"] = {x = 2390, y = 1866, z = 7},["Treecko"] = {x = 2396, y = 1866, z = 7},["Chikorita"] = {x = 2389, y = 1869, z = 7},["Bulbasaur"] = {x = 2400, y = 1869, z = 7},["Piplup"] = {x = 2391, y = 1866, z = 7},["Mudkip"] = {x = 2397, y = 1866, z = 7},["Totodile"] = {x = 2389, y = 1871, z = 7},["Squirtle"] = {x = 2400, y = 1871, z = 7},}local btype = "normal"function onUse(cid, item, frompos, item2, topos)if getPlayerLevel(cid) > 5 thenreturn trueendlocal pokemon = ""for a, b in pairs (starterpokes) doif isPosEqualPos(topos, b) thenpokemon = aendendif pokemon == "" then return true endif getPlayerStorageValue(cid, 9658754) ~= 1 thensendMsgToPlayer(cid, 27, "Fale com o professor Robert para escolher sua cidade inicial primeiro!")return trueend --alterado v1.9 \/doPlayerSendTextMessage(cid, 27, "Voce tem o seu primeiro pokemon! Você tambem recebeu algumas pokeballs para ajuda lo em seu caminho.")doPlayerSendTextMessage(cid, 27, "Nao se esqueça de usar a sua pokedex em todos os pokemon desconhecidos!")addPokeToPlayer(cid, pokemon, 0, nil, btype, true)doPlayerAddItem(cid, 2394, 10)doSendMagicEffect(getThingPos(cid), 29)doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))doSendMagicEffect(getThingPos(cid), 27)doSendMagicEffect(getThingPos(cid), 29)return TRUEend
e a tag no actions.xml:
-- BOXES (poke inicial)
<action itemid="1740" event="script" value="starter.lua"/>
Mais não pega , eu clico no baú e não acontece nadinha, quem me ajudar ganhará REP+ :happy:
Valendo REP+.