Files

31 lines
837 B
Lua
Raw Permalink Normal View History

2025-06-05 03:10:18 -04:00
---@diagnostic disable: duplicate-set-field
Phone = Phone or {}
2025-06-05 03:10:18 -04:00
---This will get the name of the Phone system being being used.
---@return string
Phone.GetPhoneName = function()
return 'default'
end
2025-09-10 12:27:12 -04:00
Phone.GetResourceName = function()
return "default"
end
2025-06-05 03:10:18 -04:00
---This will get the phone number of the passed source.
---@param src number
---@return number|boolean
Phone.GetPlayerPhone = function(src)
return false, print('^6 There is no phone bridged in community_bridge. ^0')
end
2025-06-05 03:10:18 -04:00
---This will send an email to the passed source, email address, title and message.
---@param src number
---@param email string
---@param title string
---@param message string
---@return boolean
Phone.SendEmail = function(src, email, title, message)
return false, print('^6 There is no phone bridged in community_bridge. ^0')
end
return Phone