mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(settings): notification position
This commit is contained in:
@@ -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