Page cover

πŸ’ΎX_HUD_CallPlayer

🌟 Overview

X_HUD_CallPlayer provides a modern and efficient way for admins to communicate with players directly through in-game notifications. The system features a glass UI effect, multilingual support, and advanced logging capabilities. It integrates seamlessly with popular frameworks like ESX and QB-Core and supports detailed Discord webhooks for admin actions.


✨ Features

  • Admin Communication: Send direct messages to players using simple commands.

  • Modern UI: Glass effect with customizable colors, fonts, and layout.

  • Framework Support: Compatible with ESX and QB-Core.

  • Multilingual Support: English, German, French, Italian, Spanish, and easy expansion.

  • Discord Webhooks: Detailed logs with player identifiers (Steam, License, Discord, IP, etc.).

  • TxAdmin Integration: Handle warnings and direct messages from TxAdmin.

  • Customizable Notifications: Adjust the appearance of notifications via html/config.js.


πŸ› οΈ Installation

  1. Download the Script:

  2. Extract the Folder:

    • Extract the downloaded folder to your FiveM resources directory.

  3. Update server.cfg:

    • Add ensure X_HUD_CallPlayer to your server.cfg file.

  4. Restart Your Server:

    • Restart your server to load the new resource.


πŸ“– Usage

Admin Commands

  • /callplayer [ID] [Message]: Sends a message to a specific player.

Example Usage


βš™οΈ Configuration

Server-Side Configuration (config.lua)

Language Setting

Command Settings

Permission Settings

Framework Settings

Discord Webhook

TxAdmin Integration


🎨 UI Customization (html/config.js)

Notification Duration and Effects

Position Settings

Style Settings

Notification Types

Font Settings


πŸ“€ Discord Webhook Setup

Features of Discord Logs

  • Player Identifiers: Steam, License, Discord, FiveM, IP address, and more.

  • RP Names: If available through the framework.

  • Detailed Information: Player jobs, money, status, server info, online time, location, and date/time.

Configuration in config.lua


πŸ”„ TxAdmin Integration

Configuration


πŸ”„ Troubleshooting

Common Issues

  1. Notification Not Appearing:

    • Ensure the script is properly loaded and enabled in server.cfg.

    • Check for typos in the command name or event names.

    • Verify that the player ID is correct.

  2. Discord Logs Not Working:

    • Ensure the Discord webhook URL is correct.

    • Check if the Discord bot has the necessary permissions.

    • Verify that Config.UseDiscordLogs is set to true.

  3. TxAdmin Integration Not Working:

    • Ensure TxAdmin is properly installed and configured.

    • Verify that Config.UseTxAdminWarnings and Config.UseTxAdminDirectMessages are set to true.


πŸ“₯ Download & Support

Last updated