Needing "Combat Mode" code

kaysio

Valued Member!
Has anyone got the string code for COMBAT MODE.
As Im trying to add it to the debug stats panel.

So when your in combat mode, it can show active.
Then when not it can show non-active


j0k3r5
 
Code:
player getVariable['startcombattimer',0];

It returns the seconds they have until they are no longer in combat. So anything larger than 0 would be in combat, up to 30 seconds.
If it returns 0, they are not in combat.
 
Back
Top