AreFighting
Whether two players are in a fight right now.
Syntax
Section titled “Syntax”AreFighting(a, b)| Parameter | Type | |
|---|---|---|
a |
number | one player |
b |
number | the other |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if not AreFighting(pid, target) then SendClientMessage(pid, COLOUR_RED, "You are not fighting them.") endSee also
Section titled “See also”StartFight · GetPlayerOpponents · the Combat group of the index
