ExtraHUD [LUA] 1.2b
2 837
59
2 837
59
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: http://www.dev-c.com/gtav/scripthookv/
- LuaPlugin for ScripHookV (please use the sdk version so that you can see the errors of the code if presents): https://github.com/gallexme/LuaPlugin-GTAV/archive/master.zip
- GTALua (I really don't know if this is nessesary but I have this installed along with LuaPlugin for ScriptHookV because I wanted to play the Simple Prisoner Arrest but the prison system doesn't work and I'm trying to make a prison so that I can deliver prisoners there for money (I only do this for me because the S.P.A belongs to someone else and the author stopped supporting the mod and I can't contact him to ask for permission to reupload :v): http://www.gtalua.com/download/
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
- Date
- Day name
- In-game clock
- Vehicle speed
- Engine health
- Player health
- Player armor
Requirements:
- ScriptHookV: http://www.dev-c.com/gtav/scripthookv/
- LuaPlugin for ScripHookV (please use the sdk version so that you can see the errors of the code if presents): https://github.com/gallexme/LuaPlugin-GTAV/archive/master.zip
- GTALua (I really don't know if this is nessesary but I have this installed along with LuaPlugin for ScriptHookV because I wanted to play the Simple Prisoner Arrest but the prison system doesn't work and I'm trying to make a prison so that I can deliver prisoners there for money (I only do this for me because the S.P.A belongs to someone else and the author stopped supporting the mod and I can't contact him to ask for permission to reupload :v): http://www.gtalua.com/download/
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
Перше завантаження: 06 Червня 2015
Останнє оновлення 13 Червня 2015
Last Downloaded: 06 Грудня 2024
58 коментаря
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: http://www.dev-c.com/gtav/scripthookv/
- LuaPlugin for ScripHookV (please use the sdk version so that you can see the errors of the code if presents): https://github.com/gallexme/LuaPlugin-GTAV/archive/master.zip
- GTALua (I really don't know if this is nessesary but I have this installed along with LuaPlugin for ScriptHookV because I wanted to play the Simple Prisoner Arrest but the prison system doesn't work and I'm trying to make a prison so that I can deliver prisoners there for money (I only do this for me because the S.P.A belongs to someone else and the author stopped supporting the mod and I can't contact him to ask for permission to reupload :v): http://www.gtalua.com/download/
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
- Date
- Day name
- In-game clock
- Vehicle speed
- Engine health
- Player health
- Player armor
Requirements:
- ScriptHookV: http://www.dev-c.com/gtav/scripthookv/
- LuaPlugin for ScripHookV (please use the sdk version so that you can see the errors of the code if presents): https://github.com/gallexme/LuaPlugin-GTAV/archive/master.zip
- GTALua (I really don't know if this is nessesary but I have this installed along with LuaPlugin for ScriptHookV because I wanted to play the Simple Prisoner Arrest but the prison system doesn't work and I'm trying to make a prison so that I can deliver prisoners there for money (I only do this for me because the S.P.A belongs to someone else and the author stopped supporting the mod and I can't contact him to ask for permission to reupload :v): http://www.gtalua.com/download/
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
Перше завантаження: 06 Червня 2015
Останнє оновлення 13 Червня 2015
Last Downloaded: 06 Грудня 2024
@iTrungChemxX The mod still wasn't displaying the MINUTES between 1 and 9 correctly (no leading zero... you can even see it in the photo for the mod above), but moving three lines fixed it. Here is the correct code:
function ExtraHUD.ShowTime()
Hour = TIME.GET_CLOCK_HOURS()
Minute = TIME.GET_CLOCK_MINUTES()
if Minute < 10 then
Minute = string.format("0%d", Minute)
end
if ampmclock == true then
AMPM = "AM"
if Hour == 00 then
Hour = string.format("12")
elseif Hour < 10 then
Hour = string.format("0%d", Hour)
elseif Hour >= 12 then
AMPM = "PM"
if Hour > 12 then
Hour = math.floor(Hour - 12)
if Hour < 10 then
Hour = string.format("0%d", Hour)
end
end
end
Time = string.format("%s:%s %s", Hour, Minute, AMPM)
else
if Hour < 10 then
Hour = string.format("0%d", Hour)
end
Time = string.format("%s:%s", Hour, Minute)
end
ExtraHUD.DrawText(Time, extrahudy - 0.100, extrahudx, 0.45)
end
Just wanted to point that out in case you wanted to update the mod. Thanks...
@iTrungChemxX No but i dont care right now im going to buy the normal version this week.Thanks for helping. :)
@iTrungChemxX Have you the nosteam version of the game or other one??
@EL_Greco i'm using reloaded version. actually the crack doesn't matter. i tested with 3dm version and it works just fine
@iTrungChemxX can you send me a link for the reloaded version??
@EL_Greco http://www52.zippyshare.com/v/KpGKout3/file.html here is the link for the torrent provided by skidrowreloaded.com
@iTrungChemxX Thanks bro
I Don't know how to install...... can help me...?
@yo91223 huh?? really ???
@yo91223 copy the *.lua to gta v root folder/scripts/addins
@iTrungChemxX hey i just stared playing gta again and the hud just keeps flashing is there an update that you made for the new Script/what ever. i im following this mod
@James_Darkness I'm currently playing gta v reloaded copy and I do not own a legit copy of gta v so... there is nothing I can do for now. I'm sorry
@iTrungChemxX I know But nothing display something
@yo91223 have you installed the requirements
@iTrungChemxX Is it possible to make some kind of interface like in modern sci-fi shooters like Crysis series and is it possible to show that interface only if you wear some helmet.
@-Hooli-G4n- yes, you need the texture of the interface and sweetfx to hook it into the game and a decent programming skill to make it work your way with c++ or c# or c
@Pinback i do appreciate this
thank you guys for 1000 downloads
I made a german version:
"old script line"
>>
"new script line"
-------------------------------------------------------
local ampmclock = true
>>
local ampmclock = false
DayName = "Sunday"
>>
DayName = "Sonntag"
DayName = "Monday"
>>
DayName = "Montag"
DayName = "Tuesday"
>>
DayName = "Dienstag"
DayName = "Wednesday"
>>
DayName = "Mittwoch"
DayName = "Thursday"
>>
DayName = "Donnerstag"
DayName = "Friday"
>>
DayName = "Freitag"
DayName = "Saturday"
>>
DayName = "Samstag"
Date = string.format("%s-%s-%s", Month, Day, Year)
>>
Date = string.format("%s.%s.%s", Day, Month, Year)
what are the installation?