mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-17 17:48:36 +00:00
feat(settings): notification position
This commit is contained in:
1 parent
2569518602
commit
468a4d820f
31 files changed
+387
-37
No files matched your search
@@ -24,6 +24,7 @@ local settings = require 'resource.settings'
|
||||
function lib.notify(data)
|
||||
local sound = settings.notification_audio and data.sound
|
||||
data.sound = nil
|
||||
data.position = data.position or settings.notification_position
|
||||
|
||||
SendNUIMessage({
|
||||
action = 'notify',
|
||||
|
||||
Reference in new issue
Block a user