How do I make my bars look like this? HP bar, armor bar, health and thirst ?
You have to code it, or use some of the system released already.(Not sure if ESX comes with a healthbar or not, I know that VRP does in-fact not come with this.)
ESX and VRP Framework both adds food and drinking to your character ingame.
Example of how this for an example could look with the VRP system. (I use this myself)
how can I do my bars look like yours
EDIT: exactly like this, I liked its design and positioning, gimme a hint on where should I do or idk, just help me, I have no clue on where does the hp bars are handled
The HP bar itself I have, it not a default thing in VRP, so you have to add it.
- Hint: modules/survival.lua
- Hint 2: Using drawRct from some of the carhuds found around here.
Even you telling me the hint, its still too vague for me, I have no clue on how would I do and how I would… I know this is not a spoonfeeding site, but maybe could you please share this script with me? cause I do have programming knowledge, but not in lua, so this would be a bit hard to me
From what @Hawk_bs saying it sounds like a bit of a copy and paste job. experiment and try it first. If you get errors, attempt to fix if you are stuck, that’s when you can ask people for help. And that is not spoon feeding as you have actually attempted it.
i’m a bit lost maybe u could help me too
Completely right. - It’s basicly just a copy paste job in VRP, not sure if you can in ESX though, as I don’t work on that plateform.
If nobody have it “released” within a month or so, I wouldn’t mind sharing the code from mine.
I use FXServer, and I have no clue on what do to
I would also like this script! HP bar, armor bar, health and thirst!
Does anyone have this script?
I would also like this script! HP bar, armor bar, health and thirst!
Does anyone have this script?
function vRP.getHealth(user_id)
return data.health
end
function vRP.varyHealth(user_id)
local health = GetEntityHealth(ped)
local ped = GetPlayerPed(-1)
vRPclient.setProgressBarValue(source,“vRP:health”,data.health)
vRPclient.setProgressBarText(source,“vRP:health”,"")
end
vRPclient._setProgressBar(source,“vRP:health”,“minimap”,vtxt,255,0,0,0)
and something like that!!!
is it possible that you can release it now?