• Health in percent
    2 replies, posted
Hi guys! I need a help (or script). I would like to make my server show the amount of HP in percent, not as it is written on screenshots of its real quantity. I mean, instead of 300% it showed 100%. Does anyone know how to do it? https://i.imgur.com/EanYhdg.jpg https://i.imgur.com/Pxy0RQ2.jpg
If you are using a custom hud addon and it supports what you want, you can change it in it's config file. However, most of the HUD addons don't have that, so you need to either get a hud addon for it or make one yourself.
local healthcent = ent:Health() / ent:GetMaxHealth() * 100 .. "%" It's basic math.
Sorry, you need to Log In to post a reply to this thread.