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:
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
[15:30] John Smith [Police | Officer] [ID: 12]: Need backup at the bank
[15:31] Mike Johnson [ID: 24]: Just bought a car!
[15:32] Sarah Miller [EMS | Paramedic] [ID: 7]: On my way to Pillbox
Config.Settings = {
active = true,
command = 'hudsettings'
}
/hudsettings
Config.Settings.active = false
Config.DefaultHUD = {
cash = true,
bank = true,
black_money = true,
job = true,
id = true,
players = true,
time = true,
admins = true,
street = true,
area = true,
voice = true,
visa = true,
speedo = 1, -- 1 or 2 (speedometer style)
}
Config.DefaultHUD = {
cash = true, -- Show cash
bank = true, -- Show bank balance
black_money = false, -- Hide black money
job = true, -- Show job
id = true, -- Show player ID
players = true, -- Show player count
time = true, -- Show time
admins = false, -- Hide admin count
street = true, -- Show street name
area = true, -- Show area name
voice = true, -- Show voice indicator
visa = true, -- Show visa level
speedo = 1, -- Speedometer style (1 or 2)
}
/hudsettings โ Open HUD settings menu
/chat โ Open chat (default: T key)
/showhud โ Show HUD
/hidehud โ Hide HUD
/seatbelt โ Toggle seatbelt (default: K key)
/announcement <duration_sec> <message> โ Send server-wide announcement
/announcementto <playerID> <duration_sec> <message> โ Send announcement to specific player
/setvisa <playerID> <level> โ Set player visa level (requires permission)
TriggerEvent('risk:client:hud_off_cine')
TriggerEvent('risk:client:hud_toggle')
Config.SpeedoMeterUpdateInterval = 100 -- Reduce speedometer updates
Config.ShowAlwaysMiniMap = false -- Save resources
Config.UseItemNotify = false -- Disable if not needed
Config.Visa.active = false -- Disable if not used
Config.SpeedoMeterUpdateInterval = 10 -- Smooth updates
Config.ShowAlwaysMiniMap = true -- Better UX
Config.UseItemNotify = true -- Full features
Config.Visa.active = true -- All systems enabled