[Free] - Simple rHud (0.00ms) Ready to be used on ESX

0.00ms start 0.15ms on vehicle

Easy to configure and 100% open source.

On the HUD, there is the speedometer, seatbelt systeme, status (Health, Shield, Eat, Drink), other information.

Shield auto hidden when you have no shields

Download : GitHub - SnailSquad/rHud

Code is accessible Yes
Requirements ESX Framework and ESX_status
Support Yes
3 Likes

How can I make it so it sets the job grade too?

Hey ! On hud.lua change line 124 and 139

**SendNUIMessage({actionhud = "setValue", key = "job", value = job.label.." - "..job.grade})**

On event.lua change event to

RegisterServerEvent(‘rHud:getInfo’, function()
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
local xMoney = xPlayer.getAccount(‘money’).money
local xDirty = xPlayer.getAccount(‘black_money’).money
local xJoblabel = xPlayer.getJob().label
local xJobgrade = xPlayer.getJob().grade
local xJob = xJoblabel…" - "…xJobgrade
TriggerClientEvent(“rHud:setInfo”, _source, xMoney, xDirty, xJob)
end)

2 Likes