notify _type
This commit is contained in:
1 parent
50f822bf20
commit
5b0e7074fe
4 files changed
+6
-3
No files matched your search
@@ -16,7 +16,7 @@ end
|
||||
---@return nil
|
||||
Notify.SendNotify = function(message, _type, time)
|
||||
time = time or 3000
|
||||
return exports.ox_lib:notify({ description = message, type = _type, position = 'center-left' })
|
||||
return exports.ox_lib:notify({ description = message, type = _type, duration = time, position = 'top-right' })
|
||||
end
|
||||
|
||||
return Notify
|
||||
Reference in new issue
Block a user