Install The Lab Hud on RSG
On RSG the install is short: there is no metabolism scale to set, because hunger and thirst already sit in the player metadata from 0 to 100. The one step people miss is turning off RSG's own HUD.
Before you start
- An RSG server with
rsg-corerunning - The Lab Hud downloaded from your Cfx.re account
- Access to
server.cfgand the server console
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: Ensure it after rsg-core
Drop the folder into
resourcesand add theensureline after your RSG resources, so auto-detection findsrsg-corestarted.ensure rsg-core # ...the rest of your RSG resources ensure tlb-hudStep 3: Stop the RSG HUD
The Lab Hud does not turn off another HUD resource for you. Comment out the
ensureline of the HUD resource you run today, otherwise both will draw on top of each other.# ensure <your current hud resource>Step 4: Optional: force the framework
In
shared/config.lua, set the framework explicitly if you prefer not to rely on detection.Config.Framework = 'rsg'Step 5: Validate the adapter
The RSG adapter is provided but the HUD was tested on VORP, so check on a test server first: cash should match your character, the ID should be the citizen ID, and hunger and thirst should drop over time.
Troubleshooting
No hunger or thirst bars
Check that your metabolism resource writes hunger and thirst into PlayerData.metadata. If it stores them elsewhere, edit client/bridge/frameworks/rsg.lua.
The HUD never appears
It waits for RSGCore:Client:OnPlayerLoaded or for the first character data from the server. Make sure rsg-core is started before tlb-hud.
FAQ
Does it need ox_lib?
No, the HUD itself does not use it.
Can it show bank money instead of cash?
Change the value returned in bridge/server/frameworks/rsg.lua; the file is outside the escrow.
Is pma-voice required?
No. Without a voice resource, the mic bar uses the game's proximity voice.
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.