[Discontinued] Healthbar / UI - Now Supports vRP and ESX! (V 1.1)

Its literally the 3rd thing down on the post…

Actually i found that to be what was breaking this script. It was registering the health bar as my drug effects bar.

Does anyone have a version of this that does not require esx or vRP? So just FX (Just Health and Armor)

Has anyone implemented an armor box that wouldn’t mind sharing?!

If you look further up my download is there. I have stopped working on it but the armor bar is there

Got a question, does your version hides while the player is not ready to play, so I could use it with this script?
The original version always stay on top of the loading screen, I still couldn’t figure out how to hide it.

No it does not hide sorry

I got it to hide on the pause menu, but I don’t know what variable to change so it at least wait until the player has loaded for it to become visible.

This is the snippet that I’ve added:

Citizen.CreateThread(function()
     while true do
 		Citizen.Wait()
         if IsPlayerSwitchInProgress() or IsPauseMenuActive() then
             TriggerEvent('ui:toggle',false)
         else
             TriggerEvent('ui:toggle',true)
         end
     end
end)

Tried to use IsPlayerSwitchInProgress() but it didn’t work, neither showed any errors on the console. Got any feedback?

i have this installed but when i get notifications of any kind like when someone gets paid from their job some of the text is being cut off like this, i cant seem to find a solution anywhere so can anyone help ?

image

Someone found out how to put health % text on the bars ?

Update Coming Soon! :wink:

Next update will include
  • Config / If you want % on your bars. So you know how much you have left
  • Extra Bar with Armor
  • And som other small changes.
5 Likes

Can you also make it hide while the user is loading into the game and/or while the pause menu is active?
Thanks for the awesome job so far!

it’s already do that.

when will the update be out ?

Updated 1.1 :slight_smile:

  • Added Armorbar
  • Config file with Text on the Bars, to see how mutch is left

vrp/module/survival.lua

It doesn’t seem that the numbers are working on the ESX version

idk if im the only one but the numbers doesn’t show and they`re true in config

Woops xD Just found out i forgot something.
Should be fixed now. :slight_smile: Try to download it again from the Github.

the health number shows now but not the armor

Should have been fixed now.
Try again. Sorry.