Nametag System

Nametag System v2

This script is designed for a GTA V roleplay server using the QBCore framework. It enhances player name visibility features, allowing specific player statuses to be displayed dynamically above player characters within a specified range. This includes displaying player names, mask statuses, health, and special RP+ status. The script integrates both server-side and client-side components to ensure efficient and accurate updates of player data.

Features

Dynamic Name Display:

  • Shows player names above their heads within a configurable distance.
  • Player names can be toggled on or off by all players using command.

Mask Status:

  • Detects if a player is wearing a mask and adjusts the name display accordingly.
  • Masks are identified by specific drawable variations.

Health and Status Indicators:

  • Displays player health. [Can be disabled from config]
  • Indicates if a player is in “last stand” mode or dead with customizable text.

RP+ Status:

  • Players with RP+ status have their names highlighted in a distinct color and prefixed with a “+” sign.
  • RP+ status is retrieved from the database and dynamically updated.
  • RP+ can be granted or revoked by admins with [/rp+ or /rp-] commands

Voice Proximity Indicator:

  • Shows if a player is talking with a text indicator, reflecting the current voice proximity mode. [PMA VOICE]

Meeting System:
The Meet Request System is a feature designed to enhance roleplay interactions in GTA V by allowing players to formally introduce themselves to one another. This system is integrated into the QBCore framework and ensures that players can manage their social interactions in a structured and immersive way.

  • Players can send a meet request to another player using the /meet[Player ID] command.
  • When a request is sent, the target player receives a notification indicating that another player wants to meet them.

https://www.hate-development.com
PREVIEW

Code is accessible No
Subscription-based No
Lines (approximately) 700+
Requirements qb-core
Support Yes

Nametag v2 | 15.08.2024

  • Optimised mask status to fix timeout error.
  • Added perm feature
  • You can now prepare perms via config.
  • You can give and revoke permission with command.
  • Permissions will shown on nametag
  • You can change and add more permissions and edit their colors and labels.

Nametag V2 [ TEST ] | 23.12.2024

REMEMBER: This is a testing version. Based on customer feedback, new updates will be implemented soon.

  • Performance Boost: Code structure has been optimized to reduce unnecessary processing, improving overall system performance.

  • Memory Management: Old player data is now properly cleared when a player disconnects from the server.

  • Efficient Data Updates: Data sent from the server to clients is now transmitted only when changes occur, reducing unnecessary data traffic.

  • Repetitive Trigger Issue Resolved: The receiveNames event no longer triggers unnecessarily, thanks to improved data comparison logic.

  • Data Consistency: Fixed issues causing discrepancies in updating player data.

  • Mic proximity has been removed to improve optimization.

  • Ranks are now assigned using numbers, similar to the old version. Instead of specifying the exact permission name like “god” or “admin,” you can now assign ranks using numbers, which are defined in the config.

  • Also, added .sql file.

Nametag V2 | 24.12.2024

REMEMBER: This is a testing version. Based on customer feedback, new updates will be implemented soon.

  • Fixed Unknown column mask_id error by correcting the database column reference.
  • Resolved ToggleNames command not working, ensuring it properly toggles name visibility.
  • Fixed permissions not disappearing when revoked, ensuring proper rank updates.
  • Changed permission granting method to use perm names (e.g., “admin”) instead of numbers.

Nametag | 05.03.2025

  • You can now define images to perms.

Görsel