Hey,
Something like that will be cool:
isPlayerCombatMode
Checks wheter player is in combat mode. Usually like held melee / distance weapon, fists or use magic.
Syntax
Examples
In this way server can check player combat state, so this will enable to protect other functions which would be disturb a combat.
Something like that will be cool:
isPlayerCombatMode
Checks wheter player is in combat mode. Usually like held melee / distance weapon, fists or use magic.
Syntax
Quote:bool isPlayerCombatMode(int playerId)
Examples
Quote:if isPlayerCombatMode(playerId) then
unbindKey("tab", "both", handleScoreboard)
end
In this way server can check player combat state, so this will enable to protect other functions which would be disturb a combat.

Discord: paolson44