Page cover

πŸ’ΎX_HUD_TextUI

🌟 Overview

X_HUD_TextUI is designed to enhance the visual and interactive elements of your FiveM server by providing a modern TextUI system. It supports customizable animations, glass blur effects, and sound notifications, making it perfect for roleplay servers, interactive scenarios, and any server looking to improve player engagement.


✨ Features

  • Interactive UI Notifications: Display customizable messages with keys for player interaction.

  • Modern Glass Effect: Utilizes WebGL for a sleek, modern look with glass blur effects.

  • Customizable Shine/Reflection Effects: Add visual flair with adjustable shine settings.

  • Built-in Sound Support: Play sounds when the UI opens or closes.

  • Easy-to-Use API: Simple client and server exports for seamless integration.

  • Fully Configurable: Customize appearance, behavior, animations, and more.


πŸ› οΈ Installation

Step-by-Step Guide

  1. Download the Resource:

  2. Extract the Folder:

    • Extract the downloaded folder to your FiveM server's resources directory.

  3. Update server.cfg:

    • Add the following line to your server.cfg file to ensure the resource starts automatically:ensure X_HUD_TextUI

  4. Restart Your Server:

    • Restart your server to apply the changes and load the new resource.


πŸ“– Usage

Client-side

Server-side


βš™οΈ Configuration

Customizing Appearance and Behavior

Edit the config.js file to customize the appearance and behavior of the TextUI:


πŸ”„ Framework Integration

ESX Framework Integration

Add this to your client script to use X_HUD_TextUI as the default notification system:

Example of usage in your ESX scripts:

QBCore Framework Integration

Add this to your client script to use X_HUD_TextUI as the default notification system:

Example of usage in your QBCore scripts:


πŸ“ Examples

Basic Usage

Event Usage

Server-side Usage

Last updated