๐Ÿ“บHUD V2

This documentation covers all configuration options available to server owners. The HUD automatically detects your framework (ESX, QBCore) and requires oxmysql for certain features.

1) Overview

Risk HUD V2 is a comprehensive, customizable HUD system featuring:

  • ๐Ÿš— Advanced Speedometer โ€” Real-time speed, fuel, gear, RPM, seatbelt

  • ๐Ÿ’ฐ Balance Display โ€” Cash, bank, black money tracking

  • ๐Ÿ‘” Job System โ€” Dynamic job and grade display

  • ๐Ÿ“Š Visa/Level System โ€” Player progression with combat restrictions

  • ๐Ÿ’ฌ Integrated Chat โ€” RP Chat and Admin Chat systems

  • ๐Ÿ”” Notification System โ€” Custom notifications with multiple types

  • ๐Ÿ“ข Announcements โ€” Server-wide and targeted announcements

  • โณ Progress Bars โ€” Animated progress with animations and props

  • ๐Ÿ—บ๏ธ Street Display โ€” Current street and area names

  • ๐ŸŽค Voice Integration โ€” Proximity voice indicators

  • โš™๏ธ In-Game Settings โ€” Players can customize their HUD

  • ๐Ÿ“ฑ Item Notifications โ€” Inventory item tracking

  • ๐ŸŽฌ Cinematic Mode โ€” Toggle letterbox mode

  • ๐ŸŽจ Fully Customizable โ€” Colors, positions, sizes, visibility


2) Dependencies

Required:

Optional:

  • Voice system (pma-voice, saltychat, tokovoip, mumble-voip)


3) Basic Configuration

Server Information

Displayed in the top-left corner of the HUD.

Examples:

Framework Detection

The HUD automatically detects:

  • es_extended (ESX)

  • qb-core (QBCore)

  • qbx_core (QBox)

Update Intervals

How often the speedometer updates (in milliseconds)


4) Money System Configuration

Money Types

  • true โ€” Shows cash, bank, and black money

  • false โ€” Shows only cash and bank

Supporter System (Optional)

Enable if you have a supporter/VIP system integrated.


5) Speed Type Configuration

Options:

  • "kmh" โ€” Kilometers per hour (metric)

  • "mph" โ€” Miles per hour (imperial)

Maximum Speed Display:

The speedometer shows 0-100% based on this maximum speed (in km/h).


6) Minimap Configuration

Always Show Minimap

  • false โ€” Minimap only shows when in vehicle (default)

  • true โ€” Minimap always visible (even on foot)

Recommended:


7) Seatbelt System

Seatbelt Settings

Enable/Disable:

Change Keybind:

How it works:

  • Without seatbelt: High-speed crashes eject player from vehicle

  • With seatbelt: Player stays in vehicle during crashes

  • Prevents exiting vehicle with F when seatbelt is on

  • Auto-removes seatbelt when exiting vehicle normally

Eject Parameters:

  • Triggers if speed > 65 km/h

  • Triggers if deceleration > 35 km/h

  • 1.5 second cooldown between ejects

Customize Notifications:


8) Visa / Level System

The Visa system is a player progression mechanic that restricts combat until players reach a certain level.

How It Works

Level Progression:

  • Players start at Visa Level 0

  • Level increases automatically based on play time

  • Each level has a specific time requirement (in minutes)

  • Example: Level 0 โ†’ Level 1 requires 3 minutes of playtime

Combat Restriction:

Players cannot attack (punch, shoot, use weapons) until they reach this level.

Examples:

Disable Visa System

Level Time Configuration

For levels not in the list:

Fast Progression (new player friendly):

Slow Progression (strict RP):

Admin Commands

Set player visa level:

Admin Permissions:

Only admins in this list can use /setvisa command.

Customize Messages


9) Chat System

Risk HUD V2 includes two separate chat systems:

A) RP Chat (Roleplay Chat)

Features:

  • Everyone can send and see messages

  • Shows player name, ID, and job (if employed)

  • Unemployed/citizen players show ID only (no job tag)

  • Perfect for in-game IC (In-Character) chat

Example Display:

B) Admin Chat (Staff Chat)

Features:

  • Only admins can send messages

  • Only admins can see messages

  • Shows admin rank instead of job

  • Perfect for staff communication

Example Display:

Admin Ranks Configuration

Disable Chat System

This will use the default GTA chat instead.


10) Announcement System

Announcement Settings

Enable/Disable:

Commands:

Permissions:

Only players with these permissions can send announcements.

Default Values:

Sender Name:

TxAdmin Integration

  • Automatically shows TxAdmin announcements and restart warnings

  • Set to false to disable

TxAdmin announcement duration:


11) Notification System

Must be true for:

  • Notifications

  • HelpNotify

  • Progress Bars

  • Announcements

If false, these features are disabled.


12) Settings Menu

In-game settings menu allows players to:

  • Toggle HUD elements on/off

  • Switch speedometer style

  • Customize their experience

Command:

Disable settings menu:


13) Default HUD Configuration

HUD Element Toggle

Disable specific elements by default:

Speedometer Styles:

  • 1 โ€” Classic circular style

  • 2 โ€” Modern digital style


14) Item Notification System

Shows notifications when:

  • Items are added to inventory

  • Items are removed from inventory

  • Weapons are given/taken

Supported Inventory Systems:

  • ESX inventory

  • QBCore inventory

  • ox_inventory

  • qb-inventory

  • Any inventory using standard events

Disable item notifications:


15) Voice System Configuration

The HUD automatically detects and integrates with:

  • pma-voice

  • saltychat

  • tokovoip

  • mumble-voip

Voice indicator shows:

  • Current voice distance (percentage)

  • Talking status (microphone icon lights up)

  • Muted/unmuted status

Change max voice levels:


16) Debug Mode

Enable for troubleshooting:

Prints debug information to console for:

  • Money updates

  • Player data

  • Framework detection

  • Event triggers


17) Complete Configuration Examples

Example 1: Pure RP Server (Strict)

Example 2: Action Server (Casual)

Example 3: Balanced Server


18) In-Game Commands

Player Commands

Admin Commands


19) Cinematic Mode

Toggle cinematic mode (letterbox):

Event:

Features:

  • Adds black bars (letterbox effect)

  • Hides HUD

  • Perfect for screenshots/videos

  • Toggle on/off

Just toggle HUD:


20) Troubleshooting

โŒ HUD not showing

Possible causes:

  • Framework not detected

  • Config.UseRiskNotifyV2 = false

  • Player not loaded

Solution:

  • Check server console for framework detection message

  • Set Config.UseRiskNotifyV2 = true

  • Try /showhud command

  • Relog to server

โŒ Speedometer not working

Possible causes:

  • Update interval too high

  • Vehicle class not supported

  • HUD hidden

Solution:

  • Lower Config.SpeedoMeterUpdateInterval to 50

  • Check if vehicle is a valid drivable vehicle

  • Use /showhud

โŒ Money not updating

Possible causes:

  • Framework not detected

  • Wrong money type configured

  • Account doesn't exist

Solution:

  • Verify framework is started before HUD

  • Check Config.UseBlackMoney setting

  • Enable Config.DebugMode to see money update logs

โŒ Visa system not working

Possible causes:

  • Config.Visa.active = false

  • oxmysql not started

  • Database table not created

Solution:

  • Enable visa system in config

  • Ensure oxmysql is started first

  • Check server console for SQL errors

  • Restart resource

โŒ Chat not working

Possible causes:

  • Config.UseChat = false

  • Both RP and Admin chat disabled

  • Framework not detected

Solution:

  • Set Config.UseChat = true

  • Enable either Config.UseRPChat or Config.UseAdminChat

  • Verify framework detection

โŒ Seatbelt not working

Possible causes:

  • Config.Belt.active = false

  • Keybind conflict

  • Not in driver seat

Solution:

  • Enable seatbelt system

  • Change Config.Belt.key if conflicting

  • Must be in driver seat to use seatbelt

โŒ Announcements not showing

Possible causes:

  • Config.Announcement.active = false

  • No permission

  • Config.UseRiskNotifyV2 = false

Solution:

  • Enable announcements in config

  • Check admin permissions

  • Enable Risk Notify V2


21) Best Practices

โœ… Enable Debug Mode during setup โ€” Helps identify issues quickly โœ… Test all features after configuration โ€” Don't assume everything works โœ… Balance Visa progression โ€” Don't make it too easy or too hard โœ… Customize for your server type โ€” RP servers need different settings than action servers โœ… Use seatbelt system on RP servers โ€” Adds realism and consequence โœ… Give players /hudsettings access โ€” Let them customize their experience โœ… Keep announcements concise โ€” Long messages are annoying โœ… Use appropriate notification types โ€” success, error, info, warning โœ… Monitor performance โ€” Lower update intervals if needed โœ… Keep admin permissions secure โ€” Only trusted staff should have announcement access


22) Performance Optimization

For low-end servers:

For high-end servers:

Last updated