feat(Phone.GetPhoneName)

This commit is contained in:
MrNewb committed 2025-06-05 03:10:18 -04:00
1 parent 9a4ab4cdd5
commit a4988fb7e3
10 files changed
+103 -30

No files matched your search

+16 -2
View File
@@ -1,11 +1,25 @@
---@diagnostic disable: duplicate-set-field
Phone = Phone or {}
---@diagnostic disable-next-line: duplicate-set-field
---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
---@diagnostic disable-next-line: duplicate-set-field
---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