Tenta colocar um "return false":
function onAttack(cid, target)
local pos = getCreaturePosition(cid)
if getCreatureCondition(cid, CONDITION_DRUNK) == TRUE then
doSendAnimatedText(pos, 'Fail', 215)
return FALSE
end
return TRUE
end
Se não der posta todos os scripts.




info
Grupo: Campones
Registrado: 15/10/08
Posts: 1
Reputação: 0
Char no Tibia: rena alon
to com um problema chatin pakas
bom e o seguinte to tentando fase que caso o mosnter receba a condition_drunk ele nao hit e nao atacke ateh kba a condition to tentando asim + sem resultados
function onAttack(cid, target) local pos = getCreaturePosition(cid) if getCreatureCondition(cid, CONDITION_DRUNK) == TRUE then doSendAnimatedText(pos, 'Fail', 215) end return TRUE endse alguem puder me ajudar
Obrg