Skip to content

feat(esx_notify): add toggle for notification sound playback#1687

Merged
Kenshiin13 merged 3 commits into
devfrom
feat-notification-sound
Jul 28, 2025
Merged

feat(esx_notify): add toggle for notification sound playback#1687
Kenshiin13 merged 3 commits into
devfrom
feat-notification-sound

Conversation

@RodericAguilar

Copy link
Copy Markdown
Contributor

This PR adds support for enabling or disabling the notification sound in esx_notify. A new variable NotificationSoundEnabled (default: true) controls whether a sound should be played when a notification is shown.

---@type boolean Whether the notification sound should be played
local NotificationSoundEnabled = true
  • My commit messages and PR title follow the Conventional Commits standard.
  • My changes have been tested locally and function as expected.
  • My PR does not introduce any breaking changes.
  • I have provided a clear explanation of what my PR does, including the reasoning behind the changes and any relevant context.

This PR adds support for enabling or disabling the notification sound in `esx_notify`.
A new variable `NotificationSoundEnabled` (default: true) controls whether a sound should be played when a notification is shown.

```lua
---@type boolean Whether the notification sound should be played
local NotificationSoundEnabled = true
```

- [x]  My commit messages and PR title follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard.
- [ ]  My changes have been tested locally and function as expected.
- [x]  My PR does not introduce any breaking changes.
- [x]  I have provided a clear explanation of what my PR does, including the reasoning behind the changes and any relevant context.
Comment thread [core]/esx_notify/Notify.lua Outdated
Comment thread [core]/esx_notify/fxmanifest.lua Outdated

@Kenshiin13 Kenshiin13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, ty!

@Kenshiin13 Kenshiin13 merged commit 4fbdb16 into dev Jul 28, 2025
2 of 3 checks passed
@Kenshiin13 Kenshiin13 deleted the feat-notification-sound branch July 28, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants