notify tweak
This commit is contained in:
1 parent
d4c4999bde
commit
07b76868f2
4 files changed
+5
-3
No files matched your search
@@ -22,6 +22,8 @@ Notify.SendNotify = function(message, _type, time)
|
||||
_type = tostring(2)
|
||||
elseif _type == "warning" or _type == "warn" then
|
||||
_type = tostring(3)
|
||||
else
|
||||
_type = tostring(2) -- Default to 2 if type is not recognized
|
||||
end
|
||||
return exports['FL-Notify']:Notify("Notification", "", message, 5000, tonumber(_type), 0)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user