Browse docs
Client: Nitro HUD exports
Reference for Client: Nitro HUD exports in mechanicjob.
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:
| Export | Arguments | Returns | Purpose |
|---|---|---|---|
GetNitroState | vehicle? | table | Returns the complete Nitro state for the supplied vehicle or the player's current vehicle |
HasNitro | vehicle? | boolean | Checks whether usable Nitro is installed |
IsNitroActive | vehicle? | boolean | Checks whether Nitro is currently boosting and consuming |
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 for all payload fields and a complete NUI example.