Bablo ResourcesDocs

Mission HUD & Waypoints

While your crew has a work order, a Mission Progress panel lists the steps of the route, and the map shows where to go next.

LUA
Config.MissionHud = {
    movable = true,
    showControls = true,
    toggleKey = 'I',
}
KeyDefaultMeaning
movabletruePlayers can move and resize the panel with /editelectricui. false turns the command off.
showControlstrueShows the row with the key hints at the bottom of the panel.
toggleKeyIDefault key to hide and show the panel.

The panel

The panel is titled Mission Progress with Complete the following steps under it. It sits on the right side of the screen, halfway down. For the La Mesa route the steps are:

  1. Collect service van
  2. Distribution cabinet LS-014
  3. Distribution cabinet LS-018
  4. Fuse box LS-019
  5. Return van & collect pay
  • There is one step for each box on the route, named after the box.
  • Finished steps turn green, get a tick and are struck through. The current step is highlighted with a spinning ring. Steps still to come show a lock.
  • The boxes can be repaired in any order. Finished boxes move up the list, so the current step is always the next box that is not done yet.
  • Every crew member sees the same steps.
  • With showControls = true, a row at the bottom shows the toggle key with Hide progress and, when movable is on, /editelectricui with Move & resize.

The panel is hidden while the work order menu is open, during a repair, in the pause menu and in the Route Creator.

Hiding the panel

Press I to hide the panel and again to show it. It stays hidden until you press the key again. The key does nothing while the work order menu is open or during a repair.

The key runs the electricianhud command. It is a FiveM key binding, Electrician — hide/show mission progress, so players can change it under Settings → Key Bindings → FiveM. toggleKey is its default key and is also the key shown on the panel.

Moving and resizing

Type /editelectricui to place the panel where you want it.

  1. A grid covers the screen, with a bar on top: Mission HUD Editor, Drag the panel to move — drag the corner handle to resize, Reset and Done.
  2. Drag the panel to move it. Drag the handle in its bottom-right corner, or turn the mouse wheel over it, to make it smaller or larger (60 % to 180 %).
  3. Press Done or Esc to save. Reset puts the panel back in its default place and size.

Without a work order the editor shows a sample panel with Collect service van, Work sites and Return van & collect pay. The layout is saved in the player’s own game, so every player sets their own. The command does not work during a repair, in the Route Creator or with movable = false. See also Commands.


Blips

StepBlips on the map
Collect the vanOne blip on the van bay.
Repair the boxesOne blip on every box that is not repaired yet, named after the box. A blip disappears when its box is done.
Return the vanOne blip on the van bay.

Every crew member gets the same blips. The depot blip from Config.Job.depotBlip is separate and always there, see The dispatcher.


The waypoint

At the start of each step the script sets one GPS waypoint for every crew member:

StepWaypoint
Collect the vanThe van bay.
Repair the boxesThe middle of all the route’s boxes.
Return the vanThe van bay.
  • The waypoint is set once per step. It does not move when a box is repaired, so use the box blips to find the next box.
  • On a route with one box the waypoint is on that box. With more boxes it is the point halfway between them, which is usually not on a box.
  • You can set your own waypoint. The script does not replace it until the next step starts.

With Config.Job.van.spawnOnStart = true the van is out right away, so the first waypoint already points at the boxes. See Work Van.