Install The Lab Hud on RedEM:RP
Installing on RedEM:RP takes two parts: the usual drop-in install, then an optional edit to show hunger and thirst, which RedEM:RP does not expose the same way on every build.
Before you start
- A RedEM:RP server with
redem_roleplay - The name and API of the resource that holds hunger and thirst on your server, if you want those bars
- The Lab Hud downloaded from the Cfx.re Portal
Install steps
Step 1: Download the resource from the Cfx.re Portal
Sign in to the Cfx.re portal with the account you used at checkout, open your granted assets and download
tlb-hud. Extract the archive: you get a singletlb-hudfolder. Keep the folder name as it is.Step 2: Add it below redem_roleplay
The HUD detects RedEM:RP from a started
redem_roleplay.ensure redem_roleplay # ...your other RedEM:RP resources ensure tlb-hudStep 3: Connect hunger and thirst (optional)
Edit
client/bridge/frameworks/redemrp.lua. Turnmetabolismon and return values from 0 to 100. The calls below are placeholders: replace them with the exports or state your status resource actually provides.ClientAdapters.redemrp = { resource = 'redem_roleplay', metabolism = true, getHunger = function() return -- read hunger from your status resource (0..100) end, getThirst = function() return -- read thirst from your status resource (0..100) end, setNativeHudVisible = function() end, onLoaded = function(cb) RegisterNetEvent('redemrp:playerLoaded', cb) end, }Step 4: Turn off your current HUD
Stop the HUD resource you use today so the two do not overlap.
Step 5: Test before going live
This adapter has not been tested on a production RedEM:RP server. Join a test server, load a character and compare the money and character ID with your database.
Troubleshooting
Money shows 0
Your RedEM:RP build may name the field differently. Adjust getCharacterInfos in bridge/server/frameworks/redemrp.lua.
Bars disappear after editing the adapter
A Lua error in the adapter stops it. Check the F8 console and make sure both functions return a number or nil.
FAQ
Will my adapter edits survive updates?
Keep a copy of your edited file. Updates may ship a new version of the adapter, which you can merge with yours.
Is the player icon male or female?
The RedEM:RP adapter does not read the character's sex and defaults to male. Return it from the server adapter if your build has it.
Related guides
- RedM server.cfg ensure orderWhy start order matters in a RedM server.cfg and the order that works: database, libraries, framework core, inventory, then your scripts.
- How to install a RedM scriptInstall any RedM resource: get the files, check fxmanifest dependencies, add SQL and items, place the ensure line and test from the console.
- Cfx.re escrow and the Cfx.re Portal (ex-Keymaster) for RedM scriptsHow escrowed RedM scripts work: purchase, Cfx.re Portal download (ex-Keymaster), license key ownership, open config files and common errors.