
Billihard
Membro
-
Registro em
-
Última visita
Histórico de Curtidas
-
Billihard recebeu reputação de ZoR em Erro MovesEm Move7 procure por:
function onSay(cid) if #getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end Substitua por:
function onSay(cid) if getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end Em Move8 procure por:
function onSay(cid) if #getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end Substitua por:
function onSay(cid) if getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end
Em data/npc/scripts/heal.lua procure por:
local bp = getPlayerSlotItem(cid, CONST_SLOT_BACKPACK) if #getCreatureSummons(cid) >= 1 then local jui = getCreatureSummons(cid)[1] doCreatureAddHealth(jui, getCreatureMaxHealth(jui)-getCreatureHealth(jui)) doSendMagicEffect(getThingPos(jui), 12) end Substitua por:
local bp = getPlayerSlotItem(cid, CONST_SLOT_BACKPACK) if getCreatureSummons(cid) >= 1 then local jui = getCreatureSummons(cid)[1] doCreatureAddHealth(jui, getCreatureMaxHealth(jui)-getCreatureHealth(jui)) doSendMagicEffect(getThingPos(jui), 12) end
-
Billihard deu reputação a KotZletY em Itens dropando no mesmo sqm infinitamente.@Billihard exatamente, bom, como eu disse acima tem uma opção no config.lua para limite uma quantidade de item por sqm, no config.lua do backup do meu server na versão 0.4, a parte em que só permite certa contia de item por sqm é essa:
protectionTileLimit = 0 mude para 3 por exemplo, e teste.
-
Billihard deu reputação a KotZletY em Itens dropando no mesmo sqm infinitamente.@Billihard como assim, itens dropando na mesma sqm ? Caso seja você colocar vários itens no mesmo sqm, isso é algo que já vem na distro, então contém uma opção no config lua com a quantidade máxima por sqm. Tente procurar lá!