Pode ser essa função aqui
if getCreatureCondition(cid, CONDITION_INFIGHT) then . end
Ou checando se tem target
if getCreatureTarget(cid) > 0 then . end
info
Group: Marquês
Joined: 02/08/12
Posts: 1k
Reputation: +234
Tibia Character: Maurolkit

Pode ser essa função aqui
if getCreatureCondition(cid, CONDITION_INFIGHT) then . end
Ou checando se tem target
if getCreatureTarget(cid) > 0 then . end
Edited Outubro 21 by Skymagnum
info
Group: Lorde
Joined: 22/07/12
Posts: 2.2k
Reputation: +453
Tibia Character: Kissy

local incorreto
reportado
Para um superior
info
Group: Infante
Joined: 04/03/11
Posts: 1.6k
Reputation: +393
Tibia Character: No Have

Tópico Movido a seção correta
Edited Outubro 21 by caotic
Obrigado Skymagnum ![]()
Malz ai gente por ter postado no lugar errado, achei q isso era algo simples entao postei na sessao de iniciantes e.e'
info
Group: Infante
Joined: 13/10/08
Posts: 1.6k
Reputation: +420
Tibia Character: Demonbholder

Tópico movido para a seção de dúvidas e pedidos resolvidos.
info
Group: Artesão
Joined: 21/05/08
Posts: 108
Reputation: +11
Galera, minha duvida é a seguinte, como faço pra colocar um Se combate?
exeplo:
If "o player estiver em combate" then
comando
end
como q é esse "o player estiver em combate" ???