• Draw.RoundedBox in a VGUI
    3 replies, posted
How can i draw a health bar in my f4 menu
Entity/Health PANEL/Paint draw.RoundedBox That should point you in the right direction
thanks mate.
You can also calculate the percentage of an entity's health using this: local percentage = ent:Health()/ent:GetMaxHealth() This is useful for health-bars, as you can simply multiply it with the width. Good luck
Sorry, you need to Log In to post a reply to this thread.