RB
RB Studios

Commands

Built-in RB HUD commands, including the player HUD editor.

RB HUD registers three server commands through ox_lib, plus the optional /edithud command. They accept no arguments and are available to every player by default.

CommandResult
/idDisplays the player's current server ID.
/cashDisplays the player's framework cash balance.
/bankDisplays the player's framework bank balance.
/edithudOpens HUD Studio to edit the active layout and manage local profiles.

Results appear as localized ox_lib notifications rather than chat messages. Standalone mode does not register /cash or /bank because it has no framework account source.

Framework money sources

Framework/cash/bank
QboxPlayerData.money.cashPlayerData.money.bank
QB-CorePlayerData.money.cashPlayerData.money.bank
ESXmoney accountbank account
Ox Coremoney item count from ox_inventoryPrimary Ox account balance

If a player is not loaded or the framework does not return an account, RB HUD displays $0.

HUD editor

Run /edithud while playing to open HUD Studio. The editor supports:

  • Dragging visible HUD classes directly on screen
  • Exact X/Y and scale controls for every class
  • Per-class visibility
  • Minimap X/Y positioning
  • Map and compass visibility modes
  • Default and bar compass styles
  • Layout presets, live preview, undo, and redo
  • Creating, selecting, renaming, and deleting named profiles

Each named profile contains the complete configuration for player, vehicle, aircraft, compass, waypoint, and weapon HUD classes, plus minimap and display preferences. Profiles are local to the player's device and are not shared with other players.

The built-in command is public and enabled by default. Set enableEditorCommand = false in config.lua when another resource handles access, then open or close HUD Studio through the editMode export.

On this page