16 horas atrás, GniusP disse:
Adiciona em cima do doSetRandomGender:
Citar
local function doPokemonRegisterLevel(cid)
if not isCreature(cid) then return true end
if getWildPokemonLevel(cid) == -1 then
setWildPokemonLevel(cid)
end
end
E em baixo do addEvent(doSetRandomGender, 5, cid) adiciona:
CitaraddEvent(doPokemonRegisterLevel, 5, cid)
E me fala se funcionou



info
Grupo: Artesão
Registrado: 20/04/18
Posts: 116
Reputação: +30
Estou precisando colocar level nos pokemons selvagens(nos pokemons dos players já tem, falta só nos selvagens)
Já tentei fazer até onde eu tinha conhecimento, porém eu não consegui
Script spawn.lua