πΎX_HUD_HelpNotify
π Overview
X_HUD_HelpNotification provides a modern, clean UI for displaying help notifications with a glass effect. Itβs designed to be context-aware, meaning notifications will automatically disappear when the context is lost. This makes it ideal for proximity-based interactions, roleplay scenarios, and guiding players through specific actions.
β¨ Features
Modern UI: Clean design with glass effect, animations, and customizable styling.
Context-Aware: Notifications disappear when context is lost, ensuring they only appear when relevant.
Position Flexibility: 9 position presets for flexible placement on the screen.
Developer-Friendly: Simple export and event system for easy integration.
Performance Optimized: Minimal resource usage ensures smooth performance.
Test Point: Built-in test point for quick setup verification.
π οΈ Installation
Download the Script:
Download the script from the Tebex Store or GitHub.
Extract the Folder:
Extract the downloaded folder to your FiveM
resourcesdirectory.
Update
server.cfg:Add
ensure X_HUD_HelpNotificationto yourserver.cfgfile.
Restart Your Server:
Restart your server to load the new resource.
π Usage
Basic Usage
The notification system requires continuous triggering to remain visible. This makes it perfect for proximity-based notifications or hints that should only appear in specific contexts.Important: This script MUST be triggered in a loop with a wait time of 0 to display properly. Itβs designed to be refreshed every frame.
Example Code
Exports
Events
βοΈ Configuration
Server-Side Configuration (config.lua)
config.lua)UI Configuration (html/config.js)
html/config.js)π¨ UI Customization
Notification Position
You can customize the position of the notification using the DefaultPosition setting in html/config.js. Available options include:
top-lefttop-middletop-rightmiddle-leftcentermiddle-rightbottom-leftbottom-middlebottom-right
Colors and Effects
Adjust the appearance of the notification by modifying the following settings in html/config.js:
BackgroundColor: Background color with opacity (RGBA format)TextColor: Text color (RGBA format)ButtonColor: Button color with transparency (RGBA format)GlowEffect: Enable or disable the glow effectGlowColor: Color of the glow effect (RGBA format)
Glass Effect
The glass effect can be customized using:
GlassEffect: Enable or disable the glass effectGlassBlur: Strength of the blur effectGlassOpacity: Opacity of the glass effect
π Troubleshooting
Common Issues
Notification Not Appearing:
Ensure the script is properly loaded and enabled in
server.cfg.Check for typos in the export or event names.
Verify that the script is being triggered in a loop with
Citizen.Wait(0).
Styling Issues:
Ensure the
html/config.jsfile is correctly configured.Check for browser console errors in the FiveM debug menu.
Test Point Not Working:
Ensure
Config.EnableTestPointis set totrueinconfig.lua.Verify that the test point coordinates are correct.
π₯ Download & Support
Tebex Store: Download Link
Discord Support: Join Discord
Last updated
