View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-02-2014 , 23:07   Re: VS Saxton Hale Mode, main thread (current v1.42)
#4200

Quote:
Originally Posted by darkboy245 View Post
The debug is fine, the health bar still isn't. it just starts with 1HP, I looked at the code but didn't see anything strange
Turns out that percents work a lot better when I pass them consistently instead of sometimes passing 100.0 as 100% and sometimes 1.0 as 100%...

This new version should work, although I still haven't added code for late loading to it (so it won't take effect until round change).
Attached Files
File Type: smx vsh_healthbar.smx (4.9 KB, 819 views)
File Type: sp Get Plugin or Get Source (vsh_healthbar.sp - 453 views - 2.8 KB)
__________________
Am I back? Well, we'll see.

Last edited by Powerlord; 03-02-2014 at 23:08.
Powerlord is offline