Skip to content

LenixStudio/lenix_hud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lenix_hud

HUD for PvP servers, including stats for health, armor, ammo, name, image, etc

About

Introduction

Welcome to Hud.

This script is designed to enhance your server's gameplay by providing a UI that let your players :

  • look to how much health and armor quality they have
  • get an idea in a better way about their weapon's name, current ammo, reserve ammo and image. as well as they can see how much kills they have in overall, the current weapon ammo's color'll be changed depending on how much they have left ammo in the weapon, the more they shoot, the more it gets darker torwards the red color

Instructions

  • Installation:
    • this script is basically a dnd resource, you just need to implement your own kills function and integrate it into your database so the weaponary hud gets a synced data
    • Node.js: make sure you have the Node.js installed on your device, to do so run:
    node -v
    1. run: npm i
    2. run: npm run build
  • Environment: QB
  • Support: available with priority

Enjoy your improved gaming experience with Hud!

  • Vitals
hud
  • Weaponary
gunhud

Roadmap

  • add kills count linking it with the database
  • deploy the production mode of the script
  • add support for other frameworks
  • test the drawtext and helper modules
  • show how much kills did they got from every weapon

Imports

Client

Show

exports.lenix_hud.show()

Hide

exports.lenix_hud.hide()

Configuration

vitals = {
  // whether the vitals hud is enabled or not
  enabled: boolean,
  // the number of milliseconds between each refresh
  refreshInterval: number
}
weaponary = {
  // whether the weaponary hud is enabled or not
  enabled: boolean,
  // the image of the fist you want to display
  fistImage: string,
  // the path to your inventory's images
  imagesPath: string
}

About

HUD PvP servers

Resources

License

Stars

Watchers

Forks