returns added everywhere per crowleys request

This commit is contained in:
MrNewb committed 2025-05-10 00:01:56 -04:00
1 parent 3e63414973
commit 7e0124f02e
150 files changed
+426 -130

No files matched your search

+3 -1
View File
@@ -3,4 +3,6 @@ Phone = Phone or {}
---@diagnostic disable-next-line: duplicate-set-field
Phone.SendEmail = function(email, title, message)
return false, Print.Error('There Is No Phone Bridged.')
end
end
return Phone
+3 -1
View File
@@ -8,4 +8,6 @@ end
---@diagnostic disable-next-line: duplicate-set-field
Phone.SendEmail = function(src, email, title, message)
return false, Print.Error('There Is No Phone Bridged.')
end
end
return Phone
+3 -1
View File
@@ -12,4 +12,6 @@ Phone = Phone or {}
---@diagnostic disable-next-line: duplicate-set-field
Phone.SendEmail = function(email, title, message)
return exports["gksphone"]:SendNewMail({ sender = email, image = '/html/static/img/icons/mail.png', subject = title, message = message })
end
end
return Phone
+3 -1
View File
@@ -26,4 +26,6 @@ Phone.SendEmail = function(src, email, title, message)
data.message = message
exports["gksphone"]:SendNewMail(src, data)
return true
end
end
return Phone
+3 -1
View File
@@ -11,4 +11,6 @@ Phone = Phone or {}
---@diagnostic disable-next-line: duplicate-set-field
Phone.SendEmail = function(email, title, message)
TriggerServerEvent('community_bridge:Server:genericEmail', {email = email, title = title, message = message})
end
end
return Phone
+3 -1
View File
@@ -33,4 +33,6 @@ RegisterNetEvent('community_bridge:Server:genericEmail', function(data)
local src = source
Prints.Debug('community_bridge:Server:genericEmail Hit')
return Phone.SendEmail(src, data.email, data.title, data.message)
end)
end)
return Phone
+2
View File
@@ -14,3 +14,5 @@ Phone.SendEmail = function(email, title, message)
local success = lib.callback.await('community_bridge:Callback:okokPhone:sendEmail', false, email, title, message) --[[ @as boolean ]]
return success
end
return Phone
+2
View File
@@ -53,3 +53,5 @@ end
lib.callback.registry('community_bridge:Callback:okokPhone:sendEmail', function(src, email, title, message)
return Phone.SendEmail(src, email, title, message)
end)
return Phone
+3 -1
View File
@@ -15,4 +15,6 @@ end
RegisterNetEvent('community_bridge:Server:genericEmail', function(data)
TriggerServerEvent('qs-smartphone:server:sendNewMail', { sender = data.email, subject = data.title, message = data.message, button = {} })
end)
end)
return Phone
+3 -1
View File
@@ -20,4 +20,6 @@ end
Phone.SendEmail = function(src, email, title, message)
TriggerClientEvent('community_bridge:Server:genericEmail', src, { sender = email, subject = title, message = message, button = {} })
return true
end
end
return Phone