πΎ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
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_CallPlayerto yourserver.cfgfile.
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)
config.lua)Language Setting
Command Settings
Permission Settings
Framework Settings
Discord Webhook
TxAdmin Integration
π¨ UI Customization (html/config.js)
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
config.luaπ TxAdmin Integration
Configuration
π Troubleshooting
Common Issues
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.
Discord Logs Not Working:
Ensure the Discord webhook URL is correct.
Check if the Discord bot has the necessary permissions.
Verify that
Config.UseDiscordLogsis set totrue.
TxAdmin Integration Not Working:
Ensure TxAdmin is properly installed and configured.
Verify that
Config.UseTxAdminWarningsandConfig.UseTxAdminDirectMessagesare set totrue.
π₯ Download & Support
Tebex Store: Download Link
Discord Support: Join Discord
Last updated
