NullSect
Systems nominal

Scripts / interface · v1.6.0

HUD

A widget HUD that is simple by default and fully rebuildable in a live in-game editor.

  • Qbox
  • QBCore
  • ESX

Features

  1. 01

    29 widgets

    Status, money, voice, compass, street, speed, RPM, gear, fuel and more.

  2. 02

    Live editor

    Drag, resize, anchor and style every widget on the real HUD with /hud.

  3. 03

    Layouts and themes

    Classic, Minimal, RP, Racing and Streamer layouts, up to 10 personal layouts and six themes.

  4. 04

    Context-aware rules

    Widgets hide when irrelevant. A WHEN ... THEN rule system from config, the UI or other scripts.

  5. 05

    Photo mode

    Free, orbit and follow camera with depth of field, filters and keyframe paths. Lock the angle with K and keep walking or driving through it.

  6. 06

    Car control

    Doors, windows, seats, lights, cruise control and a speed limiter, synced for everyone and checked by the server.

  7. 07

    Accessibility

    Scale, contrast, larger text, reduced motion and colour-blind palettes.

Requirements

Frameworks
Qbox, QBCore, ESX
Requires
Nothing extra
Works with
oxmysql, pma-voice, SaltyChat, mumble
Version
1.6.0

Recent changes

Read the docs →

1.6.0

Added

  • Freecam lock & play: set up a shot (orbit, follow or free), press K (or Lock & play in the panel's Camera tab) and the camera stays at that angle while you get your controls back: walk, run or drive and it follows you at the same offset. Orbit / follow locks keep looking at you, a free lock keeps its own angle. On foot the camera keeps its world angle and W walks into the screen; in a vehicle it swings round with the car (Turn with the vehicle, on by default, saved per player). K again goes back to editing, Backspace / Esc exits. Walls still stop the camera.
  • Config.Freecam.play: enabled, maxDistance (15 m; a camera further away is pulled in when locking; admins admin.playMaxDistance, default unlimited), allowCombat (default off: aiming, shooting and melee are blocked while locked), turnSpeed. New control lock = 311 (K) with its hint label.
  • Local event ns-hud:cl:freecamplay (playing).

Verified (offline)

  • Freecam suite 134/134 (new: lock keeps the pose, game controls stay enabled while the exit / lock / Esc / V keys and aiming are held, W no longer flies the camera, the camera follows the character at the same offset and keeps looking at it, on foot the world angle stays and the gameplay camera heading is synced as a float, getting in a vehicle does not jump, the camera swings round with the vehicle and does not with Turn with the vehicle off, walls, unlock back to editing, pull-in to the play range, a free lock keeps its angle, exit while locked, combat allowed, the panel button, play disabled / missing from the server reply). The vehicle swing and on-foot heading checks fail with those lines removed. Server 66/66 (play limits for players / admins / disabled), client 83/83, car control 61/61, car control client 68/68, NUI freecam 37/37 in Chromium (lock hint, play section + button, locked overlay with only the K / Backspace hints and no crosshair, play off hides both; the slider throttle check now sends its burst in one page call because separate round-trips could exceed the 50 ms window). ns-check 0 fail. Not yet tested in game: SetGameplayCamRelativeHeading steering on-foot movement while a script camera renders, how the vehicle swing feels, K (control 311) read as a disabled control, DisablePlayerFiring while locked.

1.5.0

Added

  • Car control: Alt hides the cursor while the panel stays open, so the mouse controls the game again (camera, and with keepDriving everything the panel normally blocks); Alt again brings the cursor back. A key chip in the panel header shows the key and the state (Hide cursor / Show cursor) and hides the cursor when clicked. With the cursor off the panel content is dimmed and keeps updating. ESC still closes the panel. Alt+Tab does not toggle it. Configurable as Config.CarControl.cursorToggle (GTA control id + browser key name).

Verified (offline)

  • Car control client suite 68/68 (new: cursor off releases the focus and mouse look / shooting with the panel open, the same Alt press is not counted twice, Alt in game brings the cursor and keep-driving back, ESC closes with the cursor off, a reopened panel starts with the cursor on). NUI car control suite 45/45 in Chromium (new: chip shows the key, Alt+Tab does nothing, Alt posts the intent, dimmed state, chip click without starting a drag; 720p still needs no inner scroll). Car control 61/61, client 83/83, server 63/63, freecam 102/102. Not yet tested in game: control 19 (Left Alt) as IsDisabledControlJustReleased while the NUI has no focus, and the Alt key reaching CEF while it has focus.

1.4.2

Removed

  • Freecam slow motion. SetTimeScale slows the whole local simulation, so entities this client owns (your vehicle, nearby traffic) would also move slowly for other players, and other players never looked slowed on your screen. Config.Freecam.world.slowMotion and minTimeScale are gone; a saved slow motion setting is ignored.

Fixed

  • Freecam: a slider pulled all the way to its end did nothing. Filter strength, motion blur, depth of field strength and shake amplitude vanished at their maximum (and slow motion froze the game at ×1.00). The panel sends slider ends as whole numbers (1, 2, 200) and those reached the game's float natives as integers. Every freecam number setting (and its default) is now kept as a decimal number.

Verified (offline)

  • Freecam suite 102/102 (new: every number setting is a float at both ends and as default; slider ends reach SetTimecycleModifierStrength, SetCamShakeAmplitude, SetCamMotionBlurStrength, SetCamDofStrength as floats; a slow motion request is rejected and SetTimeScale is never called). The float checks fail on 1.4.1. Client 83/83, server 63/63, NUI freecam 28/28 (the world tab no longer shows slow motion). Not yet tested in game.

Related

Cart

Your cart is empty.