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.
| Command | Result |
|---|---|
/id | Displays the player's current server ID. |
/cash | Displays the player's framework cash balance. |
/bank | Displays the player's framework bank balance. |
/edithud | Opens 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 |
|---|---|---|
| Qbox | PlayerData.money.cash | PlayerData.money.bank |
| QB-Core | PlayerData.money.cash | PlayerData.money.bank |
| ESX | money account | bank account |
| Ox Core | money item count from ox_inventory | Primary 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.