Main/resources/[carscripts]/community_bridge/modules/phone/_default/server.lua
2025-08-06 16:37:06 +02:00

27 lines
No EOL
736 B
Lua

---@diagnostic disable: duplicate-set-field
Phone = Phone or {}
---This will get the name of the Phone system being being used.
---@return string
Phone.GetPhoneName = function()
return 'default'
end
---This will get the phone number of the passed source.
---@param src number
---@return number|boolean
Phone.GetPlayerPhone = function(src)
return false, Print.Error('There Is No Phone Bridged.')
end
---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.Error('There Is No Phone Bridged.')
end
return Phone