The Lab
The Lab Hud · RSG

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.

Estimated time: 10 minRSG

Before you start

  • An RSG server with rsg-core running
  • The Lab Hud downloaded from your Cfx.re account
  • Access to server.cfg and the server console

Install steps

  1. 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 single tlb-hud folder. Keep the folder name as it is.

  2. Step 2: Ensure it after rsg-core

    Drop the folder into resources and add the ensure line after your RSG resources, so auto-detection finds rsg-core started.

    ensure rsg-core
    # ...the rest of your RSG resources
    
    ensure tlb-hud
  3. Step 3: Stop the RSG HUD

    The Lab Hud does not turn off another HUD resource for you. Comment out the ensure line of the HUD resource you run today, otherwise both will draw on top of each other.

    # ensure <your current hud resource>
  4. 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'
  5. 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.