Files
community_bridge/modules/phone/gksphone/client.lua
T

16 lines
481 B
Lua
Raw Normal View History

2025-03-04 22:33:30 -05:00
local resourceName = "gksphone"
2025-05-18 23:45:37 -04:00
if GetResourceState(resourceName) == 'missing' then return end
2025-02-24 18:23:19 -05:00
2025-03-04 22:33:30 -05:00
Phone = Phone or {}
2025-03-03 01:37:29 -05:00
---comment
---@param email string
---@param title string
---@param message string
---@return boolean
2025-04-28 10:31:14 -04:00
---@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
return Phone