# Client: Nitro HUD exports

> Reference for Client: Nitro HUD exports in mechanicjob.

[All exports](/docs/jobs/mechanicjob/reference/exports)

This page documents supported public integration calls and usage examples. It does not expose or reproduce the resource's internal implementation.

## Client Exports

### Nitro HUD exports

The Nitro runtime exposes these client calls for external HUDs and vehicle scripts:

<table>
<thead>
  <tr>
    <th>
      Export
    </th>
    
    <th>
      Arguments
    </th>
    
    <th>
      Returns
    </th>
    
    <th>
      Purpose
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        GetNitroState
      </code>
    </td>
    
    <td>
      <code>
        vehicle?
      </code>
    </td>
    
    <td>
      <code>
        table
      </code>
    </td>
    
    <td>
      Returns the complete Nitro state for the supplied vehicle or the player's current vehicle
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        HasNitro
      </code>
    </td>
    
    <td>
      <code>
        vehicle?
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      Checks whether usable Nitro is installed
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        IsNitroActive
      </code>
    </td>
    
    <td>
      <code>
        vehicle?
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      Checks whether Nitro is currently boosting and consuming
    </td>
  </tr>
</tbody>
</table>

```lua
local nitro = exports["sky_mechanicjob"]:GetNitroState()

if nitro.installed then
    print(("Nitro: %.1f%%"):format(nitro.percent))
end
```

For live updates, listen to the local `sky_mechanicjob:nitroStateChanged` client event. See [External Nitro HUD](/docs/jobs/mechanicjob/features/nitro-hud-integration) for all payload fields and a complete NUI example.
