Ovnyx
Member
- Joined
- Jul 25, 2017
- Messages
- 163
- Solutions
- 2
- Reaction score
- 7
Hi guys im actually using TFS 1.0 and wanted to know what lua function should i use to know if the player is in combat or not?
i tried with this ones but i cand get it:
im using this in my script so it can be executed with a action, only if the player is not in combat.
hope, someone could help me, and thanks in advice...
i tried with this ones but i cand get it:
Code:
if isPlayerPzLocked(cid) then
Code:
getCreatureCondition(cid, condition[, subId])
im using this in my script so it can be executed with a action, only if the player is not in combat.
hope, someone could help me, and thanks in advice...