Postado Abril 21, 2019 6 anos Solução 1 hora atrás, Vitorelias disse: Achei mas um erro só consigo atacar monstros apos 3 reset antes disso não consigo Substitui seu código e ver se soluciona.. function onCombat(cid, target) if not isPlayer(target) then return true end if getPlayerResets(cid) < 3 or getPlayerResets(target) < 3 then return false end return true end
Postado Abril 21, 2019 6 anos Autor 7 minutos atrás, Lyu disse: Substitui seu código e ver se soluciona.. function onCombat(cid, target) if not isPlayer(target) then return true end if getPlayerResets(cid) < 3 or getPlayerResets(target) < 3 then return false end return true end Deu certo muito obrigado uma boa noite ai valeu
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.