Browse docs

Client Events

Client-side events provided by sky_jobs_base that other resources can listen to.

Client Events

These events are fired by sky_jobs_base on the client and can be listened to from any other resource to react to shared job features.

EventDescription
sky_jobs_base:helicamFired when the helicopter camera is entered or exited.

sky_jobs_base:helicam

Fired whenever the local player enters or exits the helicopter camera. The handler receives a single state boolean: true when the cam is activated, false when it is closed. Useful for toggling custom HUDs or overlays while the player is in the cam view.

client.lua
AddEventHandler("sky_jobs_base:helicam", function(state)
    if state then
        -- Heli cam opened: hide your HUD
        exports["myCustomHud"]:ToggleHudVisibility(false)
    else
        -- Heli cam closed: show your HUD again
        exports["myCustomHud"]:ToggleHudVisibility(true)
    end
end)

Support

Need help? Our support team is always ready to assist

Join Discord