Add medical HUD icon if the body has died recently enough to be defibbed (#38909)

Health analyzers already will tell you this, so this just makes it easier. I
read this on the "Minor Suggestions" thread. I'm no spriter, so feel free to
tell me if my icon sucks. I had to add an "addtimer" to the death proc because
med_hud_set_status isn't called anymore after death.
This commit is contained in:
Jared-Fogle
2018-07-05 16:56:02 -07:00
committed by letterjay
parent e92379e360
commit 8a269e3398
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -74,6 +74,7 @@
update_canmove()
med_hud_set_health()
med_hud_set_status()
addtimer(CALLBACK(src, .proc/med_hud_set_status), (DEFIB_TIME_LIMIT * 10) + 1)
stop_pulling()
if (client)