# 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.

<table>
<thead>
  <tr>
    <th>
      Event
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        sky_jobs_base:helicam
      </code>
    </td>
    
    <td>
      Fired when the helicopter camera is entered or exited.
    </td>
  </tr>
</tbody>
</table>

Emergency Dispatch lifecycle events and the supported resolve event are documented under
[Emergency Dispatch](/docs/base/jobs-base/client-events/emergency-dispatch).

---

### `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.

```lua [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

<u-button color="neutral" icon="i-simple-icons-discord" label="Join Discord" target="_blank" to="https://discord.gg/sky-systems" variant="subtle">



</u-button>
