Advanced HUD with LUA Scripting 1.2b

Vehicles Lua


Description


Advanced HUD with LUA Scripting

This is my first lua mod that displays extra information about:
- Date
- Day name
- In-game clock
- Vehicle speed
- Engine health
- Player health
- Player armor

Requirements:

  • ScriptHookV
  • LuaPlugin for ScriptHookV (please use the sdk version so that you can see the errors of the code if presents)
  • GTALua

Changelogs:

v1.2b:

- Fix the error that 1pm to 9pm isn't displayed correctly as 01pm to 09pm

v1.2a:

- Just a small code optimization, no new features, sorry

v1.2:

- Add config lines in script for 24-hours clock (as requested by LeonEma on gtaforums) and mph speedometer (no longer 2 different versions)

- Shorter code to show time. I'm still using diamond-optic's code to show date and dayname

- Better font size and line spacing (in my personal opinion)

v1.1:

- ExtraHUD is now hidden when player is being arrest

- Add an extra version for MPH speedometer

- New font

v1.0:

- Initial release

Known issues:

  • - Extra infos are still displayed when player walks out of hospital or police departments

Conflicts:

  • - Engine Hack: extra infos are not displayed when holding desired key to use the mod

Planned Features:

  • - A menu to customize the HUD and how to save configuration
  • - Max speed and 0-100 kmh recorder and a button to show the result as a notification (man, I love notifications) (I don't know if these are nessesary for my mod but I will try as requested by cdvxxx)

Credit:

- Radar Zoom Extras: I copied the idea about date, time and dayname of diamond-optic and I just forgot to credit his name in. I'm sorry for that


First Upload: November 12, 2024 Last Updated: November 12, 2024


0 Comments