PVP HUD is a compact combat HUD for FiveM PvP and gang servers. It shows health, armor and the ammunition in your current clip, and its server part keeps a kill and death count per player in the database. It uses no framework API; it needs oxmysql and a users table.
Features
- Health and armor bars with numeric values, updated every 100 ms
- Ammo counter for the loaded clip, shown only while you hold a weapon
- Kill and death count per player, read from and written to the
killsanddeathscolumns of theuserstable, saved when a player leaves - Server export
getPlayerPoints(source)returns a player’s loaded kills and deaths - Custom minimap file (
stream/minimap.gfx) - HTML/CSS/JS interface in the
uifolder that you can restyle
Requirements
- oxmysql
- A
userstable withidentifier,killsanddeathscolumns; players are matched by theirsteam:identifier, so they need Steam running. No SQL file is included. - The included client only drives the HUD. Loading the stats and counting kills run through server events (for example
bq:onPlayerDeath) that your own death and spawn scripts have to trigger.
Installation
- Place
izzy_pvphud-mainin your resources (you can rename the folder). - Add
killsanddeathscolumns to youruserstable if they are missing. - Add
ensure izzy_pvphud-mainto your server.cfg after oxmysql.