Browse docs

Client: Nitro HUD exports

Reference for Client: Nitro HUD exports in mechanicjob.

All 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:

ExportArgumentsReturnsPurpose
GetNitroStatevehicle?tableReturns the complete Nitro state for the supplied vehicle or the player's current vehicle
HasNitrovehicle?booleanChecks whether usable Nitro is installed
IsNitroActivevehicle?booleanChecks 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.