❤️HUD



Crosshair Customization
Repositioning Elements
Pause Menu & Waypoint Color
Installation:
Drag and drop (only dependency being ox_lib)
ox_lib: https://overextended.dev/ox_lib
If using QBCore there is a line that needs to be commented out in the fxmanifest.lua
Minimap Blur
I did not intend to have the minimap be squared without the blurr so from here these steps are on you. You would need to adjust the minimap positions yourself or make your own squareminimap ytd mask to better fit thats on you. This is just a how to if you are one of these persons that want it changed.
If you wish to proceed then follow the steps:
Download the square minimap from https://github.com/Qbox-project/qbx_hud/blob/main/stream/squaremap.ytd
Paste the file in the hud stream folder
Next navigate to client > minimap.lua and uncomment the lines of code
Text Prompt
Prompt UI is not meant to be ran every frame
data (table): The configuration for the text prompt.
text (string, required): The text to display in the prompt.
position (string, optional): The position of the prompt on the screen. Default: 'bottom-center'.
Accepted values:
'right-center'
'left-center'
'top-center'
'bottom-center'
Example Usages:
Notifications
data (table): The notification configuration.
title (string, optional): The title of the notification. Default: 'Notification'.
description (string, optional): The description or body of the notification. Default: 'No description provided.'.
type (string, optional): Type of the notification. Determines the color and style. Default: 'info'.
Accepted values:
'info': Informational messages.
'success': Positive feedback messages.
'error': Error messages.
'warning': Warning or cautionary messages.
length (number, optional): Duration of the notification in milliseconds. Default: 5000.
icon (string, optional): FontAwesome icon to display with the notification. Default: 'fa-solid fa-info-circle'
Example Usages:
Code to replace to have in qb-core to use my notifications default (Optional)
Code to replace to have in qbx-core to use my notifications default (Optional)
Code to replace to have in ox_lib to use my notifications default (Optional)
Progress Bar
data: A table containing the following keys:duration (optional, default:
5000): The duration of the progress bar in milliseconds.label (optional): The label that appears on the progress bar (e.g., "Crafting", "Loading").
anim (optional): An animation configuration.
dict(required): The animation dictionary name.clip(required): The animation clip name.blendIn(optional): The blend-in time (default is3.0).blendOut(optional): The blend-out time (default is1.0).duration(optional): The animation duration (default is-1for infinite).flag(optional): Animation flag (default is49).lockX,lockY,lockZ(optional): Whether to lock certain axes (default:false).
prop (optional): A table containing prop information.
model(required): The model name of the prop.bone(required): The bone index to attach the prop to.pos(required): The position offset from the ped (e.g.,{x=0, y=0, z=0}).rot(required): The rotation of the prop (e.g.,{xRot=0, yRot=0, zRot=0}).
disable (optional): A table specifying which controls to disable during the progress bar.
car: If true, disables car controls (e.g., driving).move: If true, disables movement controls (e.g., walking).mouse: If true, disables mouse controls (e.g., aiming).combat: If true, disables combat-related controls (e.g., shooting).sprint: If true, disables sprinting.
Example Usages:
Code to replace to have in ox_lib to use my progress bar using default ox lib exports (Optional)
Code to replace to have in qb-core to use my progress bar using default qbcore trigger (Optional)
Other HUD Exports
Last updated