12 lines
458 B
Lua
12 lines
458 B
Lua
if GetResourceState('gksphone') ~= 'started' or (BridgeSharedConfig.Phone ~= "gksphone" and BridgeSharedConfig.VehicleKey ~= "auto") then return end
|
|
|
|
Phone = {}
|
|
|
|
---comment
|
|
---@param email string
|
|
---@param title string
|
|
---@param message string
|
|
---@return boolean
|
|
Phone.SendEmail = function(email, title, message)
|
|
return exports["gksphone"]:SendNewMail({ sender = email, image = '/html/static/img/icons/mail.png', subject = title, message = message })
|
|
end |