- Katılım
- 5 yıl 8 ay 11 gün
- Mesajlar
- 76
✦ Frazy Last Light — Weapon HUD for FiveM
Pull a gun and it’s there. Put it away and it’s gone.
Ammo, reload, fire mode and safety, all in one arc.
Linkleri,görmek için
Giriş yap veya üye ol.
Linkleri,görmek için
Giriş yap veya üye ol.
Official Links
Linkleri,görmek için
Giriş yap veya üye ol.
Linkleri,görmek için
Giriş yap veya üye ol.
Linkleri,görmek için
Giriş yap veya üye ol.
✦ What is Last Light?
I built this HUD for my own server because I couldn’t find a weapon HUD I liked. Most of them are a number in the corner, or one small part of a big HUD pack that doesn’t match anything else on screen.Last Light is only a weapon HUD. It shows up when you draw a gun, gets out of the way when you holster it, and leaves the rest of your screen to your own HUD.
On Screen
- Arc ammo gauge: one segment per round. It drains as you shoot, fills back up while you reload, and flashes green when the new mag is in.
- Low ammo warning: the gauge turns red and blinks near the end of the mag, so you notice without reading the number.
- Reserve counter: shows your spare ammo next to the mag.
- 90+ weapon icons: every GTA weapon, including throwables, launchers and the Mk IIs.
- Full Mag;
- Low Ammo;
- Fire Mode Switch
Safety & Fire Modes
| Feature | Default key |
|---|---|
| Safety on / off | K |
| Switch fire mode | B |
| Settings menu | /hudsettings |
- Safety: you can’t fire while it’s on. A lock icon shows on the HUD and the accent turns red.
- Fire modes: rifles and SMGs switch between auto, burst and single. You can change the modes per weapon.
- Keys use FiveM key mapping, so every player can rebind them.
Per-Player Settings
In /hudsettings each player can:- Drag the HUD anywhere on screen
- Resize it
- Mirror it for the left side
- Turn off the blink, red shift or reload flash
Inventory Support
- core_inventory: reserve ammo counts ammo boxes plus any compatible spare magazines in your inventory.
- ox_inventory: reads your ammo items, including specialAmmo.
- qb-inventory, qs-inventory and others: uses native GTA ammo, works out of the box.
- Anything else: there’s a custom mode. A few lines in editable.lua and it runs on any inventory.
Addon Weapons
Add one line to the config:Config.CustomWeapons = {
['weapon_m4a1'] = { label = '5.56MM' },
['weapon_ak47'] = { label = '7.62MM', image = 'weapon_assaultrifle.svg' },
}
Drop an SVG with the weapon’s name into the icons folder and it’s picked up automatically. If there’s no icon, it uses another weapon’s icon or the icon for its type (pistol, rifle and so on). You never end up with an empty box.
Built For Developers
Exports
exports.frazy_lastlight_weaponhud:HideHud()
exports.frazy_lastlight_weaponhud:ShowHud()
exports.frazy_lastlight_weaponhud:SetSafety(true)
exports.frazy_lastlight_weaponhud:SetFireMode('single')
Each resource keeps its own hide request. If your phone and your cutscene script both hide the HUD, it stays hidden until both of them show it again, so scripts don’t fight over it.
Editable Files
config.lua
client/editable.lua
locales/*.lua
The inventory integration, visibility rules, sounds and safety / fire mode hooks are all in editable.lua.
Compatibility
Supported Frameworks
ESX
QBCore
QBOX
Standalone
Included Languages
English
Turkish
German
French
Spanish
Russian
Arabic
✦ Frazy Development
Frazy Development focuses on creating modern, optimized, and immersive systems for the FiveM ecosystem.If you have questions, suggestions, or need support, feel free to join our Discord community.
Linkleri,görmek için
Giriş yap veya üye ol.




