[ESX/QB] 3D Hud

preview

PREVIEW | 3D HUD

TEBEX | BUY HERE

info

  1. Framework Compatibility:
  • ESX Framework: The script is compatible with the ESX framework and fetches player status (health, armor, hunger, and thirst) using ESX events.
  • QB Framework: The script is also compatible with the QB framework and fetches player status (health, armor, hunger, and thirst) using QB events and metadata.
  1. HUD Visibility Toggle:
  • Command: Players can toggle the visibility of the HUD using the /togglehud command.
  • Key Binding: The HUD visibility can also be toggled using a key binding (default is TAB).
  1. Player Status Display:
  • Health: Displays the player’s current health.
  • Armor: Displays the player’s current armor level.
  • Hunger: Displays the player’s current hunger level.
  • Thirst: Displays the player’s current thirst level.
  1. Vehicle Status Display:
  • Speed: Displays the current speed of the vehicle the player is in (in km/h).
  • Fuel Level: Displays the current fuel level of the vehicle.
  1. Dynamic HUD Positioning:
  • On Foot: When the player is on foot, the HUD is displayed in front of the player.
  • In Vehicle: When the player is in a vehicle, the player status HUD is moved to the left to avoid overlapping with the vehicle status HUD.
  1. Optimized Performance:
  • Reduced Frequency of Status Checks: Player status is updated every second instead of every frame.
  • Reduced Frequency of HUD Updates: The HUD is updated every x milliseconds instead of every frame.
  • Local Variables: Frequently accessed data is stored in local variables to reduce global lookups.
  • Conditional Calculations: HUD positions are calculated only when necessary.

MY SCRIPTS

[STANDALONE] SEALIFE V2 (SHARK ATTACKS AND BETTER SPAWN) | $6.99
[STANDALONE] VOTE TO KICK OR BAN | $6.99
[STANDALONE] WORLD DISASTERS (WORLD WAR, TSUNAMI, APOCALYPSE, TOXIC, METEOR, ETC) | $13.99
[ESX/QB] GYM AND SKILLS PROGRESSION | $12.99

Code is accessible No
Subscription-based No
Lines (approximately) 117
Requirements ESX/QB
Support Yes