Page 1 of 1

HNS Danger Meter

Posted: Tue Nov 23, 2021 12:41 am
by greenie
HNS Danger Meter

○Description
Basically this plugin was made for HNS mod, can be used in other mods too but is kinda useless.
Based on how much players are <IN_MAX_RANGE> and on distance between you and them it show a danger percentage and the direction of the nearest enemy.
The meter is showed only for terrorists, so you don't need anytime to check whole area to see if someone is comming, just watch meter and the direction.
○Credits
xPaw(The Pink Pony) - Stock for getting attack direction.
○Changelog
v1.0 - Initial Release
○Info
#define TASK_DELAY 0.5 - HUD message update interval.
#define MAX_DANGER_RANGE 1500.0 - Maxim range for detecting enemyes. (I suggest to not change this values).


plugin