The Lab
The Lab Hud · RSG

RedM HUD for RSG

On RSG, The Lab Hud reads everything from rsg-core: cash and citizen ID on the server, hunger and thirst from the player metadata on the client. There is no extra metabolism resource to configure.

Features

  • Cash from PlayerData.money.cash

  • Citizen ID shown as the player ID

  • Hunger and thirst from RSG player metadata

  • Shows after the character is loaded (RSGCore:Client:OnPlayerLoaded)

  • Voice range from pma-voice or saltychat

  • Open server and client adapters in bridge/ and client/bridge/

Compatibility

What it reads

Server side, PlayerData.money.cash and PlayerData.citizenid through GetCoreObject(). Client side, PlayerData.metadata.hunger and .thirst, which RSG already stores from 0 to 100, so Config.FullHunger and Config.FullThirst do not apply here.

Start order

Detection looks for a started rsg-core, so place ensure tlb-hud after your RSG resources. You can also set Config.Framework = 'rsg' in shared/config.lua.

Your existing RSG HUD

The Lab Hud does not switch off RSG's own HUD resource: stop it in server.cfg (remove or comment its ensure line) so the two do not overlap. The native health, stamina and Dead Eye cores are hidden by the Config.HidePlayer*Native options.

Test before going live

The RSG adapter ships with the resource but the HUD was tested on VORP. Check money, ID, hunger and thirst on a test server first; the adapter files are open if your RSG build stores a value elsewhere.

By framework

Install guide

Install The Lab Hud on RSG

Install The Lab Hud on RSG Framework: start it after rsg-core, stop the RSG HUD resource and check cash, citizen ID, hunger and thirst.

FAQ

Does it show bank money?

No, only cash. You can change what the RSG server adapter returns in bridge/server/frameworks/rsg.lua.

Do I need ox_lib for the HUD?

The Lab Hud itself does not use ox_lib. Your RSG install may require it for other resources.

Hunger and thirst are missing. What should I check?

That rsg-core is started before tlb-hud, and that your metabolism resource writes hunger and thirst into the player metadata.