Files
community_bridge/modules/phone/lb-phone/client.lua
T

14 lines
566 B
Lua
Raw Normal View History

2025-03-04 22:33:30 -05:00
local resourceName = "lb-phone"
local configValue = BridgeSharedConfig.Phone
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
Phone = Phone or {}
2025-03-03 01:37:29 -05:00
---comment
---@param email string
---@param title string
---@param message string
---@return nil
2025-04-28 10:31:14 -04:00
---@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