[RELEASE] [ESX] Tevi Hud

Hello, this is my first hud. If you have any error with the hud just go back to this post and I will help you as quickly as I can :smiley:

Preview:


(https://streamable.com/f5a94n)

Download: https://github.com/Tevichu/tevi_hud/

Go into esx_status/client/main.lua

RegisterNetEvent('esx_status:load')
AddEventHandler('esx_status:load', function(status)
  for i=1, #Status, 1 do
  	for j=1, #status, 1 do
  		if Status[i].name == status[j].name then
  			Status[i].set(status[j].val)
  		end
  	end
  end

  Citizen.CreateThread(function()
  	while true do
  		for i=1, #Status, 1 do
  			Status[i].onTick()
  		end

  		SendNUIMessage({
  			update = true,
  			status = GetStatusData()
  		})

  		TriggerEvent('esx_status:onTick', GetStatusData(true))
  		Citizen.Wait(Config.TickTime)
  	end
  end)
end)

And Replace it with this

RegisterNetEvent('esx_status:load')
AddEventHandler('esx_status:load', function(status)
  for i=1, #Status, 1 do
  	for j=1, #status, 1 do
  		if Status[i].name == status[j].name then
  			Status[i].set(status[j].val)
  		end
  	end
  end

  Citizen.CreateThread(function()
  	while true do
  		for i=1, #Status, 1 do
  			Status[i].onTick()
  		end

  		SendNUIMessage({
  			update = true,
  			status = GetStatusData()
  		})

  		TriggerEvent('tevi_hud:update', GetStatusData(true))
  		Citizen.Wait(Config.TickTime)
  	end
  end)
end)

In case of not working you can try to use this esx_status esx_status.7z (14.1 KB)

9 Likes

Nice HUD @Tevichu ^^ i"ll test it

1 Like

this hud is stolen

1 Like

Remove the hud the Author do not authorize to youse that hud

whose supposed to be?

Its a REMAKE from ForasterosRP i think

Hahahhahahahahah its a remake

the hud is based on outsiders, but the code is different because it is NOT the official one, just one based on that

nothing for armor?

Yes, but it only activates when you have armor

anyway to change that? So people know what their armor always is?

bro… if they don’t have armor, doesn’t show on the hud, and if they have armour, the hud add a shield…

2 Likes