Files
community_bridge/modules/phone/gksphone/client.lua
T
2025-02-24 18:23:19 -05:00

7 lines
357 B
Lua

if GetResourceState('gksphone') ~= 'started' or (BridgeSharedConfig.Phone ~= "gksphone" and BridgeSharedConfig.VehicleKey ~= "auto") then return end
Phone = {}
Phone.SendEmail = function(email, title, message)
return exports["gksphone"]:SendNewMail({ sender = email, image = '/html/static/img/icons/mail.png', subject = title, message = message })
end