misc cleanup
Adjusted force config values to match the required values. Also removed unused config options. Swapped default logger to built-in
This commit is contained in:
1 parent
6e418f406c
commit
4138bc84ef
13 files changed
+23
-11
No files matched your search
@@ -3,6 +3,7 @@ local configValue = BridgeSharedConfig.Phone
|
||||
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
|
||||
Phone = Phone or {}
|
||||
|
||||
---@diagnostic disable-next-line: duplicate-set-field
|
||||
Phone.GetPlayerPhone = function(src)
|
||||
return exports["lb-phone"]:GetEquippedPhoneNumber(src) or false
|
||||
end
|
||||
@@ -13,6 +14,7 @@ end
|
||||
---@param title string
|
||||
---@param message string
|
||||
---@return boolean
|
||||
---@diagnostic disable-next-line: duplicate-set-field
|
||||
Phone.SendEmail = function(src, email, title, message)
|
||||
local numberNumber = exports["lb-phone"]:GetEquippedPhoneNumber(src)
|
||||
if not numberNumber then return false, Prints.Error("Could not Find Phone number") end
|
||||
|
||||
Reference in new issue
Block a user