🌐
MFPSCRIPTS- Documentation
  • πŸ”Documentation
  • 🐌Scripts
    • πŸ“±PhoneBattery
      • βš™οΈInstallation
      • ☎️Addidtional Phones
        • πŸ“±RoadPhone
        • πŸ“±GCPhone
        • πŸ“±HighPhone
        • πŸ“±D-Phone
        • πŸ“±NPWD
    • πŸ’ΈBanking
      • βš™οΈInstallation
    • πŸš”Policejob
      • βš™οΈInstallation
      • πŸ”—Script Intergrations
      • πŸ‘¨β€πŸ’»Developers
    • 🚧Progressbar
    • ℹ️Notification
    • πŸ—‘οΈScrapyard
    • 🎬HUD
    • πŸ“²Dispatches-App for LB-Phone
    • πŸ—ΊοΈMFP_AdvancedBlips
  • πŸ₯©Additional
    • βš™οΈINSTALL SCRIPTS
    • πŸ“΄FiveStatus
  • 🚫General Errors
    • πŸ“€es_extended
Powered by GitBook
On this page
  • THIS IS NOT RELEASED YET!
  • 🚧 INSTALLATION
  • Style Problem: HUD is to small for you
  • Style Problem: HUD not showing mph, just kph
  • βš™ ESX STATUS INTEGRATION
  • ESX 1.2.0 (up to 1.9.0)
  • ESX 1.9.4 (and above)
  1. Scripts

HUD

This is for the customers of mfp_hud.

PreviousScrapyardNextDispatches-App for LB-Phone

Last updated 7 months ago

THIS IS NOT RELEASED YET!

🚧 INSTALLATION

Requirements

Server.cfg

start NativeUI
start esx_status
start mfp_milage
start mfp_hud

Thats it. Edit the config.lua the way you want it to and configure esx status. ^^


Style Problem: HUD is to small for you

If the HUD is to small for you just change the style.css with the style.css provided in mfp_hud\html\css\IF TO SMALL USE THIS\. Replace the css file and restart your script. Now the HUD shouldnt be such small on higher resolutions. Thats it!

Style Problem: HUD not showing mph, just kph

If the HUD is only showing your speed in kph but you changed to mph, make sure to replace the index.html with the index_mph.html. Thats it!


βš™ ESX STATUS INTEGRATION

Here you can find already implemented versions. We recommend integrating yourself to the newest esx_status version!

ESX 1.2.0 (up to 1.9.0)

Replace esx_status/client/client.lua - line 60 with this

-- Update hud
Citizen.CreateThread(function()
	  while true do

	  	for i=1, #Status, 1 do
	  		Status[i].onTick()
	  	end

			SendNUIMessage({
				update = true,
				status = GetStatusData()
			})
			
				TriggerEvent('mfp_hud:updateStatus', GetStatusData(true)) -- Das hier hinzuf gen!
	    Citizen.Wait(Config.TickTime)

	  end
	end)

ESX 1.9.4 (and above)

Replace esx_status/client/client.lua - line 190 with this

-- Update hud
Citizen.CreateThread(function()
	while true do
		TriggerEvent('mfp_hud:updateStatus', GetStatusData(true))
		Citizen.Wait(Config.TickTime)
	end
end)

NativeUI / NativeUIReloaded
mysql-async/oxmysql
mfp_mileage
🐌
🎬
Page cover image
29KB
[esx_status].zip
archive