diff --git a/modules/accessibility/client.lua b/modules/accessibility/client.lua index a284ca6..5aa0851 100644 --- a/modules/accessibility/client.lua +++ b/modules/accessibility/client.lua @@ -207,4 +207,6 @@ Accessibility.getAdjustedColour = function(colourName, returnAsRGB) Prints.Error("Invalid Colour Name^0] [^3"..colourName.."^0") return "#FFFFFF" -- Default to white if the colour name is invalid end -end \ No newline at end of file +end + +return Accessibility \ No newline at end of file diff --git a/modules/clothing/_default/client.lua b/modules/clothing/_default/client.lua index bd35793..47b89d4 100644 --- a/modules/clothing/_default/client.lua +++ b/modules/clothing/_default/client.lua @@ -34,8 +34,6 @@ Clothing.ReloadSkin = function() return true end - - Clothing.UpdateAppearanceBackup = function(data) ClothingBackup = data end @@ -58,4 +56,6 @@ end) RegisterNetEvent('community_bridge:client:ReloadSkin', function() Clothing.ReloadSkin() -end) \ No newline at end of file +end) + +return Clothing \ No newline at end of file diff --git a/modules/clothing/_default/server.lua b/modules/clothing/_default/server.lua index 8689800..d02f61f 100644 --- a/modules/clothing/_default/server.lua +++ b/modules/clothing/_default/server.lua @@ -29,4 +29,6 @@ end) RegisterNetEvent('community_bridge:client:ReloadSkin', function() Clothing.ReloadSkin() -end) \ No newline at end of file +end) + +return Clothing \ No newline at end of file diff --git a/modules/dialogue/_default/client/client.lua b/modules/dialogue/_default/client/client.lua index 97ce769..1f91e0e 100644 --- a/modules/dialogue/_default/client/client.lua +++ b/modules/dialogue/_default/client/client.lua @@ -161,4 +161,6 @@ if BridgeSharedConfig.DebugLevel >= 1 then end end) end) -end \ No newline at end of file +end + +return Dialogue \ No newline at end of file diff --git a/modules/dispatch/_default/client/client.lua b/modules/dispatch/_default/client/client.lua index eeffe67..16f4c99 100644 --- a/modules/dispatch/_default/client/client.lua +++ b/modules/dispatch/_default/client/client.lua @@ -26,4 +26,6 @@ RegisterNetEvent('community_bridge:Client:DispatchAlert', function(alert) local blip = Bridge.Utility.CreateBlip(alert.coords, alert.sprite, alert.color, alert.scale, alert.code, true) Wait(alert.time) Bridge.Utility.RemoveBlip(blip) -end) \ No newline at end of file +end) + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/_default/server/server.lua b/modules/dispatch/_default/server/server.lua index 4296918..31d76e4 100644 --- a/modules/dispatch/_default/server/server.lua +++ b/modules/dispatch/_default/server/server.lua @@ -8,4 +8,6 @@ RegisterNetEvent("community_bridge:Server:DispatchAlert", function(data) TriggerClientEvent('community_bridge:Client:DispatchAlert', src, data) end end -end) \ No newline at end of file +end) + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/bub_mdt/client/client.lua b/modules/dispatch/bub_mdt/client/client.lua index 999ff62..f5850f2 100644 --- a/modules/dispatch/bub_mdt/client/client.lua +++ b/modules/dispatch/bub_mdt/client/client.lua @@ -12,4 +12,6 @@ Dispatch.SendAlert = function(data) blipCoords = data.coords or cache.ped and GetEntityCoords(cache.ped) or { x = 0, y = 0}, } exports["bub-mdt"]:CustomAlert(alertData) -end \ No newline at end of file +end + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/bub_mdt/server/server.lua b/modules/dispatch/bub_mdt/server/server.lua index 13c866f..60cd14c 100644 --- a/modules/dispatch/bub_mdt/server/server.lua +++ b/modules/dispatch/bub_mdt/server/server.lua @@ -1,2 +1,4 @@ if GetResourceState('bub-mdt') ~= 'started' then return end -Dispatch = Dispatch or {} \ No newline at end of file +Dispatch = Dispatch or {} + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/cd_dispatch/client/client.lua b/modules/dispatch/cd_dispatch/client/client.lua index b9e0aa2..c37ff1e 100644 --- a/modules/dispatch/cd_dispatch/client/client.lua +++ b/modules/dispatch/cd_dispatch/client/client.lua @@ -21,4 +21,6 @@ Dispatch.SendAlert = function(data) radius = 0, } }) -end \ No newline at end of file +end + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/cd_dispatch/server/server.lua b/modules/dispatch/cd_dispatch/server/server.lua index 364e335..20f62c3 100644 --- a/modules/dispatch/cd_dispatch/server/server.lua +++ b/modules/dispatch/cd_dispatch/server/server.lua @@ -1,2 +1,4 @@ if GetResourceState('cd_dispatch') ~= 'started' then return end Dispatch = Dispatch or {} + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/lb-tablet/client/client.lua b/modules/dispatch/lb-tablet/client/client.lua index 83aabee..28483ab 100644 --- a/modules/dispatch/lb-tablet/client/client.lua +++ b/modules/dispatch/lb-tablet/client/client.lua @@ -37,4 +37,6 @@ Dispatch.SendAlert = function(data) job = data.jobs, } TriggerServerEvent("community_bridge:server:dispatch:sendAlert", alertData) -end \ No newline at end of file +end + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/lb-tablet/server/server.lua b/modules/dispatch/lb-tablet/server/server.lua index ec8befc..b4806d8 100644 --- a/modules/dispatch/lb-tablet/server/server.lua +++ b/modules/dispatch/lb-tablet/server/server.lua @@ -3,4 +3,6 @@ Dispatch = Dispatch or {} RegisterNetEvent("community_bridge:server:dispatch:sendAlert", function(data) exports["lb-tablet"]:AddDispatch(data) -- this has a return value but we dont really have a use for it atm. -end) \ No newline at end of file +end) + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/linden_outlawalert/client/client.lua b/modules/dispatch/linden_outlawalert/client/client.lua index 3b936e0..eed7de0 100644 --- a/modules/dispatch/linden_outlawalert/client/client.lua +++ b/modules/dispatch/linden_outlawalert/client/client.lua @@ -15,4 +15,6 @@ Dispatch.SendAlert = function(data) caller = 'Anonymous', coords = data.coords or GetEntityCoords(cache.ped) }) -end \ No newline at end of file +end + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/linden_outlawalert/server/server.lua b/modules/dispatch/linden_outlawalert/server/server.lua index 1824ed4..4e58535 100644 --- a/modules/dispatch/linden_outlawalert/server/server.lua +++ b/modules/dispatch/linden_outlawalert/server/server.lua @@ -1,2 +1,4 @@ if GetResourceState('linden_outlawalert') ~= 'started' then return end -Dispatch = Dispatch or {} \ No newline at end of file +Dispatch = Dispatch or {} + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/ps-dispatch/client/client.lua b/modules/dispatch/ps-dispatch/client/client.lua index cbf06a3..a4eb7d8 100644 --- a/modules/dispatch/ps-dispatch/client/client.lua +++ b/modules/dispatch/ps-dispatch/client/client.lua @@ -27,4 +27,6 @@ Dispatch.SendAlert = function(data) jobs = data.jobs } exports["ps-dispatch"]:CustomAlert(alertData) -end \ No newline at end of file +end + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/ps-dispatch/server/server.lua b/modules/dispatch/ps-dispatch/server/server.lua index b75b55e..dde11f4 100644 --- a/modules/dispatch/ps-dispatch/server/server.lua +++ b/modules/dispatch/ps-dispatch/server/server.lua @@ -1,3 +1,5 @@ if GetResourceState('ps-dispatch') ~= 'started' then return end if GetResourceState('lb-tablet') == 'started' then return end Dispatch = Dispatch or {} + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/qs_dispatch/client/client.lua b/modules/dispatch/qs_dispatch/client/client.lua index 3656cc7..f68f798 100644 --- a/modules/dispatch/qs_dispatch/client/client.lua +++ b/modules/dispatch/qs_dispatch/client/client.lua @@ -35,4 +35,6 @@ Dispatch.SendAlert = function(data) customData.image = image or customData.image TriggerServerEvent('qs-dispatch:server:CreateDispatchCall', customData) end) -end \ No newline at end of file +end + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/qs_dispatch/server/server.lua b/modules/dispatch/qs_dispatch/server/server.lua index 238df5e..46fa79a 100644 --- a/modules/dispatch/qs_dispatch/server/server.lua +++ b/modules/dispatch/qs_dispatch/server/server.lua @@ -1,2 +1,4 @@ if GetResourceState('qs-dispatch') ~= 'started' then return end -Dispatch = Dispatch or {} \ No newline at end of file +Dispatch = Dispatch or {} + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/redutzu-mdt/client/client.lua b/modules/dispatch/redutzu-mdt/client/client.lua index 2314a7d..895de7b 100644 --- a/modules/dispatch/redutzu-mdt/client/client.lua +++ b/modules/dispatch/redutzu-mdt/client/client.lua @@ -11,4 +11,6 @@ Dispatch.SendAlert = function(data) coords = data.coords, } TriggerServerEvent("community_bridge:server:dispatch:sendAlert", alertData) -end \ No newline at end of file +end + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/redutzu-mdt/server/server.lua b/modules/dispatch/redutzu-mdt/server/server.lua index e07d799..ea72477 100644 --- a/modules/dispatch/redutzu-mdt/server/server.lua +++ b/modules/dispatch/redutzu-mdt/server/server.lua @@ -9,4 +9,6 @@ RegisterNetEvent("community_bridge:server:dispatch:sendAlert", function(data) duration = data.time, coords = data.coords }) -end) \ No newline at end of file +end) + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/tk_dispatch/client/client.lua b/modules/dispatch/tk_dispatch/client/client.lua index 7d112fb..edfa708 100644 --- a/modules/dispatch/tk_dispatch/client/client.lua +++ b/modules/dispatch/tk_dispatch/client/client.lua @@ -17,4 +17,6 @@ Dispatch.SendAlert = function(data) }, jobs = data.jobs or {'police'}, }) -end \ No newline at end of file +end + +return Dispatch \ No newline at end of file diff --git a/modules/dispatch/tk_dispatch/server/server.lua b/modules/dispatch/tk_dispatch/server/server.lua index 43020fb..688895d 100644 --- a/modules/dispatch/tk_dispatch/server/server.lua +++ b/modules/dispatch/tk_dispatch/server/server.lua @@ -1,2 +1,4 @@ if GetResourceState('tk_dispatch') ~= 'started' then return end -Dispatch = Dispatch or {} \ No newline at end of file +Dispatch = Dispatch or {} + +return Dispatch \ No newline at end of file diff --git a/modules/doorlock/doors_creator/client.lua b/modules/doorlock/doors_creator/client.lua index 4d11da1..26a691b 100644 --- a/modules/doorlock/doors_creator/client.lua +++ b/modules/doorlock/doors_creator/client.lua @@ -7,4 +7,6 @@ Doorlock = Doorlock or {} ---@return string | nil Doorlock.GetClosestDoor = function() return exports["doors_creator"]:getClosestActiveDoor() -end \ No newline at end of file +end + +return Doorlock \ No newline at end of file diff --git a/modules/doorlock/doors_creator/server.lua b/modules/doorlock/doors_creator/server.lua index c45de2e..ed9a0b1 100644 --- a/modules/doorlock/doors_creator/server.lua +++ b/modules/doorlock/doors_creator/server.lua @@ -16,4 +16,6 @@ Doorlock.ToggleDoorLock = function(doorID, toggle) exports["doors_creator"]:setDoorState(doorID, 0) end return true -end \ No newline at end of file +end + +return Doorlock \ No newline at end of file diff --git a/modules/doorlock/ox_doorlock/client.lua b/modules/doorlock/ox_doorlock/client.lua index 738cdf7..04a2d31 100644 --- a/modules/doorlock/ox_doorlock/client.lua +++ b/modules/doorlock/ox_doorlock/client.lua @@ -10,3 +10,5 @@ Doorlock.GetClosestDoor = function() if not doorData then return end return tostring(doorData.id) or nil end + +return Doorlock \ No newline at end of file diff --git a/modules/doorlock/ox_doorlock/server.lua b/modules/doorlock/ox_doorlock/server.lua index 3c0ff18..132efa1 100644 --- a/modules/doorlock/ox_doorlock/server.lua +++ b/modules/doorlock/ox_doorlock/server.lua @@ -15,4 +15,6 @@ Doorlock.ToggleDoorLock = function(doorID, toggle) exports.ox_doorlock:setDoorState(doorID, 0) end return true -end \ No newline at end of file +end + +return Doorlock \ No newline at end of file diff --git a/modules/doorlock/qb-doorlock/client.lua b/modules/doorlock/qb-doorlock/client.lua index 5c7c92b..b5275b9 100644 --- a/modules/doorlock/qb-doorlock/client.lua +++ b/modules/doorlock/qb-doorlock/client.lua @@ -20,4 +20,6 @@ Doorlock.GetClosestDoor = function() end end return door -end \ No newline at end of file +end + +return Doorlock \ No newline at end of file diff --git a/modules/doorlock/qb-doorlock/server.lua b/modules/doorlock/qb-doorlock/server.lua index 59e19cf..5fd74c9 100644 --- a/modules/doorlock/qb-doorlock/server.lua +++ b/modules/doorlock/qb-doorlock/server.lua @@ -10,4 +10,6 @@ Doorlock = Doorlock or {} Doorlock.ToggleDoorLock = function(doorID, toggle) TriggerClientEvent('qb-doorlock:client:setState', -1, 0, doorID, toggle, false, false, false) return true -end \ No newline at end of file +end + +return Doorlock \ No newline at end of file diff --git a/modules/doorlock/rcore_doorlock/client.lua b/modules/doorlock/rcore_doorlock/client.lua index ceb596b..11860b1 100644 --- a/modules/doorlock/rcore_doorlock/client.lua +++ b/modules/doorlock/rcore_doorlock/client.lua @@ -18,4 +18,6 @@ Doorlock.GetClosestDoor = function() end end return door -end \ No newline at end of file +end + +return Doorlock \ No newline at end of file diff --git a/modules/doorlock/rcore_doorlock/server.lua b/modules/doorlock/rcore_doorlock/server.lua index c7190c8..016f952 100644 --- a/modules/doorlock/rcore_doorlock/server.lua +++ b/modules/doorlock/rcore_doorlock/server.lua @@ -15,4 +15,5 @@ Doorlock.ToggleDoorLock = function(doorID, toggle) exports.rcore_doorlock:changeDoorState(doorID, 1) end return true -end \ No newline at end of file +end +return Doorlock \ No newline at end of file diff --git a/modules/framework/_default/server.lua b/modules/framework/_default/server.lua index 4fff4d4..5d895be 100644 --- a/modules/framework/_default/server.lua +++ b/modules/framework/_default/server.lua @@ -1,2 +1,3 @@ Framework = Framework or {} +return Framework \ No newline at end of file diff --git a/modules/framework/es_extended/client.lua b/modules/framework/es_extended/client.lua index a970606..cea9a41 100644 --- a/modules/framework/es_extended/client.lua +++ b/modules/framework/es_extended/client.lua @@ -133,4 +133,6 @@ RegisterNetEvent('esx:setJob', function(data) PlayerJobGradeName = data.grade_label PlayerJobGradeLevel = data.grade TriggerEvent('community_bridge:Client:OnPlayerJobUpdate',PlayerJobName, PlayerJobLabel, PlayerJobGradeName, PlayerJobGradeLevel) -end) \ No newline at end of file +end) + +return Framework \ No newline at end of file diff --git a/modules/framework/es_extended/server.lua b/modules/framework/es_extended/server.lua index 899e945..2597fcd 100644 --- a/modules/framework/es_extended/server.lua +++ b/modules/framework/es_extended/server.lua @@ -350,4 +350,6 @@ Framework.Commands.Add = function(name, help, arguments, argsrequired, callback, help = help, arguments = arguments }) -end \ No newline at end of file +end + +return Framework \ No newline at end of file diff --git a/modules/framework/qb-core/client.lua b/modules/framework/qb-core/client.lua index 9d70865..71639aa 100644 --- a/modules/framework/qb-core/client.lua +++ b/modules/framework/qb-core/client.lua @@ -175,3 +175,5 @@ RegisterNetEvent('QBCore:Client:OnGangUpdate', function(data) TriggerEvent('community_bridge:Client:OnPlayerGangUpdate', PlayerGangName, PlayerGangLabel, PlayerGangGradeName, PlayerGangGradeLevel) --]] end) + +return Framework \ No newline at end of file diff --git a/modules/framework/qb-core/server.lua b/modules/framework/qb-core/server.lua index 9316fae..736278e 100644 --- a/modules/framework/qb-core/server.lua +++ b/modules/framework/qb-core/server.lua @@ -494,3 +494,4 @@ Framework.Commands.Add = function(name, help, arguments, argsrequired, callback, QBCore.Commands.Add(name, help, arguments, argsrequired, callback, permission, ...) end +return Framework \ No newline at end of file diff --git a/modules/framework/qbx_core/client.lua b/modules/framework/qbx_core/client.lua index e1d0f51..2fee358 100644 --- a/modules/framework/qbx_core/client.lua +++ b/modules/framework/qbx_core/client.lua @@ -89,4 +89,6 @@ RegisterNetEvent('QBCore:Client:OnJobUpdate', function(data) PlayerJobGradeName = data.grade.name PlayerJobGradeLevel = data.grade.level TriggerEvent('community_bridge:Client:OnPlayerJobUpdate',PlayerJobName, PlayerJobLabel, PlayerJobGradeName, PlayerJobGradeLevel) -end) \ No newline at end of file +end) + +return Framework \ No newline at end of file diff --git a/modules/framework/qbx_core/server.lua b/modules/framework/qbx_core/server.lua index d47e1af..f536597 100644 --- a/modules/framework/qbx_core/server.lua +++ b/modules/framework/qbx_core/server.lua @@ -448,4 +448,6 @@ end) AddEventHandler("playerDropped", function() local src = source TriggerEvent("community_bridge:Server:OnPlayerUnload", src) -end) \ No newline at end of file +end) + +return Framework \ No newline at end of file diff --git a/modules/fuel/_default/client.lua b/modules/fuel/_default/client.lua index 681b2e4..731ace5 100644 --- a/modules/fuel/_default/client.lua +++ b/modules/fuel/_default/client.lua @@ -21,4 +21,6 @@ end Fuel.SetFuel = function(vehicle, fuel) if not DoesEntityExist(vehicle) then return end return SetVehicleFuelLevel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/bigDaddy-Fuel/client.lua b/modules/fuel/bigDaddy-Fuel/client.lua index daa86a6..00f8f75 100644 --- a/modules/fuel/bigDaddy-Fuel/client.lua +++ b/modules/fuel/bigDaddy-Fuel/client.lua @@ -26,3 +26,5 @@ Fuel.SetFuel = function(vehicle, fuel) if not DoesEntityExist(vehicle) then return end exports['BigDaddy-Fuel']:SetFuel(vehicle, fuel) end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/cdn-fuel/client.lua b/modules/fuel/cdn-fuel/client.lua index 093987f..1dba7dd 100644 --- a/modules/fuel/cdn-fuel/client.lua +++ b/modules/fuel/cdn-fuel/client.lua @@ -25,4 +25,6 @@ end Fuel.SetFuel = function(vehicle, fuel) if not DoesEntityExist(vehicle) then return end return exports['cdn-fuel']:SetFuel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/esx-sna-fuel/client.lua b/modules/fuel/esx-sna-fuel/client.lua index 3309621..cc15388 100644 --- a/modules/fuel/esx-sna-fuel/client.lua +++ b/modules/fuel/esx-sna-fuel/client.lua @@ -25,4 +25,6 @@ end Fuel.SetFuel = function(vehicle, fuel) if not DoesEntityExist(vehicle) then return end exports['esx-sna-fuel']:SetFuel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/lc_fuel/client.lua b/modules/fuel/lc_fuel/client.lua index 3048cb9..551aef2 100644 --- a/modules/fuel/lc_fuel/client.lua +++ b/modules/fuel/lc_fuel/client.lua @@ -26,4 +26,6 @@ end Fuel.SetFuel = function(vehicle, fuel, type) if not DoesEntityExist(vehicle) then return end return exports["lc_fuel"]:SetFuel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/legacyfuel/client.lua b/modules/fuel/legacyfuel/client.lua index 6c64d4f..4903687 100644 --- a/modules/fuel/legacyfuel/client.lua +++ b/modules/fuel/legacyfuel/client.lua @@ -25,4 +25,6 @@ end Fuel.SetFuel = function(vehicle, fuel, type) if not DoesEntityExist(vehicle) then return end return exports['LegacyFuel']:SetFuel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/okokGasStation/client.lua b/modules/fuel/okokGasStation/client.lua index 02c5ed0..42785fe 100644 --- a/modules/fuel/okokGasStation/client.lua +++ b/modules/fuel/okokGasStation/client.lua @@ -25,4 +25,6 @@ end Fuel.SetFuel = function(vehicle, fuel, type) if not DoesEntityExist(vehicle) then return end return exports['okokGasStation']:SetFuel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/ox_fuel/client.lua b/modules/fuel/ox_fuel/client.lua index 16d7772..1001582 100644 --- a/modules/fuel/ox_fuel/client.lua +++ b/modules/fuel/ox_fuel/client.lua @@ -27,4 +27,6 @@ Fuel.SetFuel = function(vehicle, fuel, type) local currentFuel = Entity(vehicle).state.fuel Entity(vehicle).state.fuel = currentFuel + fuel return Entity(vehicle).state.fuel -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/ps-fuel/client.lua b/modules/fuel/ps-fuel/client.lua index 8f28f7e..ee84b1a 100644 --- a/modules/fuel/ps-fuel/client.lua +++ b/modules/fuel/ps-fuel/client.lua @@ -25,4 +25,6 @@ end Fuel.SetFuel = function(vehicle, fuel, type) if not DoesEntityExist(vehicle) then return end return exports["ps-fuel"]:SetFuel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/qs-fuelstations/client.lua b/modules/fuel/qs-fuelstations/client.lua index 8b3827f..ab5c571 100644 --- a/modules/fuel/qs-fuelstations/client.lua +++ b/modules/fuel/qs-fuelstations/client.lua @@ -25,4 +25,6 @@ end Fuel.SetFuel = function(vehicle, fuel) if not DoesEntityExist(vehicle) then return end return exports['qs-fuelstations']:SetFuel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/renewed-Fuel/client.lua b/modules/fuel/renewed-Fuel/client.lua index 262740e..8ed1f66 100644 --- a/modules/fuel/renewed-Fuel/client.lua +++ b/modules/fuel/renewed-Fuel/client.lua @@ -25,4 +25,6 @@ end Fuel.SetFuel = function(vehicle, fuel, type) if not DoesEntityExist(vehicle) then return end return exports['Renewed-Fuel']:SetFuel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/ti_fuel/client.lua b/modules/fuel/ti_fuel/client.lua index d0fdcef..54471e2 100644 --- a/modules/fuel/ti_fuel/client.lua +++ b/modules/fuel/ti_fuel/client.lua @@ -26,4 +26,6 @@ end Fuel.SetFuel = function(vehicle, fuel) if not DoesEntityExist(vehicle) then return end return exports['ti_fuel']:setFuel(vehicle, fuel, "RON91") -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/fuel/x-fuel/client.lua b/modules/fuel/x-fuel/client.lua index 1011e3b..b00f604 100644 --- a/modules/fuel/x-fuel/client.lua +++ b/modules/fuel/x-fuel/client.lua @@ -26,4 +26,6 @@ end Fuel.SetFuel = function(vehicle, fuel) if not DoesEntityExist(vehicle) then return end return exports['x-fuel']:SetFuel(vehicle, fuel) -end \ No newline at end of file +end + +return Fuel \ No newline at end of file diff --git a/modules/helptext/_default/client.lua b/modules/helptext/_default/client.lua index c1e4ea1..bfab021 100644 --- a/modules/helptext/_default/client.lua +++ b/modules/helptext/_default/client.lua @@ -22,4 +22,6 @@ end) RegisterNetEvent('community_bridge:Client:HideHelpText', function() HelpText.HideHelpText() -end) \ No newline at end of file +end) + +return HelpText \ No newline at end of file diff --git a/modules/helptext/_default/server.lua b/modules/helptext/_default/server.lua index 448e815..c670c93 100644 --- a/modules/helptext/_default/server.lua +++ b/modules/helptext/_default/server.lua @@ -14,4 +14,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field HelpText.HideHelpText = function(src) TriggerClientEvent('community_bridge:Client:HideHelpText', src) -end \ No newline at end of file +end + +return HelpText \ No newline at end of file diff --git a/modules/helptext/cd_drawtextui/client.lua b/modules/helptext/cd_drawtextui/client.lua index 4ae1271..9d55f2e 100644 --- a/modules/helptext/cd_drawtextui/client.lua +++ b/modules/helptext/cd_drawtextui/client.lua @@ -18,4 +18,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field HelpText.HideHelpText = function() return TriggerEvent('cd_drawtextui:HideUI') -end \ No newline at end of file +end + +return HelpText \ No newline at end of file diff --git a/modules/helptext/jg-textui/client.lua b/modules/helptext/jg-textui/client.lua index bd2d9d6..cc6d4f8 100644 --- a/modules/helptext/jg-textui/client.lua +++ b/modules/helptext/jg-textui/client.lua @@ -17,4 +17,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field HelpText.HideHelpText = function() return exports['jg-textui']:HideText() -end \ No newline at end of file +end + +return HelpText \ No newline at end of file diff --git a/modules/helptext/lab-HintUI/client.lua b/modules/helptext/lab-HintUI/client.lua index c6e42bc..0ddccb9 100644 --- a/modules/helptext/lab-HintUI/client.lua +++ b/modules/helptext/lab-HintUI/client.lua @@ -17,4 +17,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field HelpText.HideHelpText = function() return exports['lab-HintUI']:Hide() -end \ No newline at end of file +end + +return HelpText \ No newline at end of file diff --git a/modules/helptext/okokTextUI/client.lua b/modules/helptext/okokTextUI/client.lua index f2614d2..fec30be 100644 --- a/modules/helptext/okokTextUI/client.lua +++ b/modules/helptext/okokTextUI/client.lua @@ -17,4 +17,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field HelpText.HideHelpText = function() return exports['okokTextUI']:Close() -end \ No newline at end of file +end + +return HelpText \ No newline at end of file diff --git a/modules/helptext/ox_lib/client.lua b/modules/helptext/ox_lib/client.lua index 171fe98..4fe01d3 100644 --- a/modules/helptext/ox_lib/client.lua +++ b/modules/helptext/ox_lib/client.lua @@ -18,4 +18,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field HelpText.HideHelpText = function() return exports.ox_lib:hideTextUI() -end \ No newline at end of file +end + +return HelpText \ No newline at end of file diff --git a/modules/housing/_default/client.lua b/modules/housing/_default/client.lua index 4e660db..ae77287 100644 --- a/modules/housing/_default/client.lua +++ b/modules/housing/_default/client.lua @@ -1 +1,3 @@ -Housing = Housing or {} \ No newline at end of file +Housing = Housing or {} + +return Housing \ No newline at end of file diff --git a/modules/housing/_default/server.lua b/modules/housing/_default/server.lua index dcfb42b..4566d0a 100644 --- a/modules/housing/_default/server.lua +++ b/modules/housing/_default/server.lua @@ -9,4 +9,6 @@ RegisterNetEvent('community_bridge:Server:_OnPlayerInside', function(src, inside local playerEntity = GetPlayerPed(src) local playerCoords = GetEntityCoords(playerEntity) TriggerEvent('community_bridge:Client:OnPlayerInside', src, insideId, currentBucket, playerCoords) -end) \ No newline at end of file +end) + +return Housing \ No newline at end of file diff --git a/modules/housing/bcs-housing/client.lua b/modules/housing/bcs-housing/client.lua index d5d2396..398b713 100644 --- a/modules/housing/bcs-housing/client.lua +++ b/modules/housing/bcs-housing/client.lua @@ -8,4 +8,6 @@ end) RegisterNetEvent("Housing:client:DeleteFurnitures", function() TriggerServerEvent('community_bridge:Server:_OnPlayerInside', false) -end) \ No newline at end of file +end) + +return Housing \ No newline at end of file diff --git a/modules/housing/bcs-housing/server.lua b/modules/housing/bcs-housing/server.lua index f4263c0..7a8f747 100644 --- a/modules/housing/bcs-housing/server.lua +++ b/modules/housing/bcs-housing/server.lua @@ -1,3 +1,5 @@ if GetResourceState('bcs-housing') ~= 'started' then return end -Housing = Housing or {} \ No newline at end of file +Housing = Housing or {} + +return Housing \ No newline at end of file diff --git a/modules/housing/esx_property/client.lua b/modules/housing/esx_property/client.lua index 3d3238f..dc61c00 100644 --- a/modules/housing/esx_property/client.lua +++ b/modules/housing/esx_property/client.lua @@ -1,3 +1,5 @@ if GetResourceState('esx_property') ~= 'started' then return end -Housing = Housing or {} \ No newline at end of file +Housing = Housing or {} + +return Housing \ No newline at end of file diff --git a/modules/housing/esx_property/server.lua b/modules/housing/esx_property/server.lua index 5243ae7..118fa7a 100644 --- a/modules/housing/esx_property/server.lua +++ b/modules/housing/esx_property/server.lua @@ -10,4 +10,6 @@ end) RegisterNetEvent('esx_property:leave', function(insideId) local src = source TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId) -end) \ No newline at end of file +end) + +return Housing \ No newline at end of file diff --git a/modules/housing/ps-housing/client.lua b/modules/housing/ps-housing/client.lua index a40ae1c..b7f5d8e 100644 --- a/modules/housing/ps-housing/client.lua +++ b/modules/housing/ps-housing/client.lua @@ -1,3 +1,5 @@ if GetResourceState('ps-housing') ~= 'started' then return end -Housing = Housing or {} \ No newline at end of file +Housing = Housing or {} + +return Housing \ No newline at end of file diff --git a/modules/housing/ps-housing/server.lua b/modules/housing/ps-housing/server.lua index d364c2e..52a2e48 100644 --- a/modules/housing/ps-housing/server.lua +++ b/modules/housing/ps-housing/server.lua @@ -10,4 +10,6 @@ end) RegisterNetEvent('ps-housing:server:leaveProperty', function(insideId) local src = source TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId) -end) \ No newline at end of file +end) + +return Housing \ No newline at end of file diff --git a/modules/housing/qb-appartments/client.lua b/modules/housing/qb-appartments/client.lua index 5d6b7f8..2ce29c9 100644 --- a/modules/housing/qb-appartments/client.lua +++ b/modules/housing/qb-appartments/client.lua @@ -1,3 +1,5 @@ if GetResourceState('qb-appartments') ~= 'started' then return end -Housing = Housing or {} \ No newline at end of file +Housing = Housing or {} + +return Housing \ No newline at end of file diff --git a/modules/housing/qb-appartments/server.lua b/modules/housing/qb-appartments/server.lua index 6c5f6c5..cfd0982 100644 --- a/modules/housing/qb-appartments/server.lua +++ b/modules/housing/qb-appartments/server.lua @@ -6,4 +6,6 @@ RegisterNetEvent('qb-apartments:server:SetInsideMeta', function(house, insideId, local src = source insideId = bool and house .. '-' .. insideId or nil TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId) -end) \ No newline at end of file +end) + +return Housing \ No newline at end of file diff --git a/modules/housing/qb-houses/client.lua b/modules/housing/qb-houses/client.lua index e1e61cf..4208627 100644 --- a/modules/housing/qb-houses/client.lua +++ b/modules/housing/qb-houses/client.lua @@ -1,3 +1,5 @@ if GetResourceState('qb-houses') ~= 'started' then return end -Housing = Housing or {} \ No newline at end of file +Housing = Housing or {} + +return Housing \ No newline at end of file diff --git a/modules/housing/qb-houses/server.lua b/modules/housing/qb-houses/server.lua index 7fac010..a06d537 100644 --- a/modules/housing/qb-houses/server.lua +++ b/modules/housing/qb-houses/server.lua @@ -6,4 +6,6 @@ RegisterNetEvent('qb-houses:server:SetInsideMeta', function(insideId, bool) local src = source insideId = bool and insideId or nil TriggerEvent('community_bridge:Server:_OnPlayerInside', src, insideId) -end) \ No newline at end of file +end) + +return Housing \ No newline at end of file diff --git a/modules/input/client.lua b/modules/input/client.lua index a5b86d1..1650cce 100644 --- a/modules/input/client.lua +++ b/modules/input/client.lua @@ -107,6 +107,9 @@ function Input.Open(title, data, isQBFormat, submitText) return OpenInput(title, data, isQBFormat, submitText) end +return Input + + --[[ -- Unit tests local thisIsQB = { diff --git a/modules/inventory/_default/client.lua b/modules/inventory/_default/client.lua index 42853d9..7f460c5 100644 --- a/modules/inventory/_default/client.lua +++ b/modules/inventory/_default/client.lua @@ -40,4 +40,6 @@ Inventory.StripPNG = function(item) item = string.gsub(item, ".png", "") end return item -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/_default/server.lua b/modules/inventory/_default/server.lua index eac7130..ebde24c 100644 --- a/modules/inventory/_default/server.lua +++ b/modules/inventory/_default/server.lua @@ -151,4 +151,6 @@ Inventory.StripPNG = function(item) item = string.gsub(item, ".png", "") end return item -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/codem-inventory/client.lua b/modules/inventory/codem-inventory/client.lua index 4893b37..ffe00a5 100644 --- a/modules/inventory/codem-inventory/client.lua +++ b/modules/inventory/codem-inventory/client.lua @@ -54,4 +54,6 @@ end RegisterNetEvent('community_bridge:client:codem-inventory:openStash', function(id, data) if source ~= 65535 then return end TriggerServerEvent('codem-inventory:server:openstash', id, data.slots, data.weight, data.label) -end) \ No newline at end of file +end) + +return Inventory \ No newline at end of file diff --git a/modules/inventory/codem-inventory/server.lua b/modules/inventory/codem-inventory/server.lua index 4f68f4b..0718c83 100644 --- a/modules/inventory/codem-inventory/server.lua +++ b/modules/inventory/codem-inventory/server.lua @@ -171,4 +171,6 @@ end -- @param shopGroups table Inventory.CreateShop = function(shopTitle, shopInventory, shopCoords, shopGroups) return true, print("Unable to Create Shop for codem-inventory, I do not have access to a copy of this inventory to bridge the feature.") -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/core_inventory/client.lua b/modules/inventory/core_inventory/client.lua index f31858c..e1d877c 100644 --- a/modules/inventory/core_inventory/client.lua +++ b/modules/inventory/core_inventory/client.lua @@ -61,4 +61,6 @@ Inventory.GetPlayerInventory = function() }) end return repackedTable -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/core_inventory/server.lua b/modules/inventory/core_inventory/server.lua index d9869fa..0f24af5 100644 --- a/modules/inventory/core_inventory/server.lua +++ b/modules/inventory/core_inventory/server.lua @@ -225,4 +225,6 @@ end lib.callback.register('community_bridge:Callback:core_inventory', function(source) local items = core:getItemsList() return items or {} -end) \ No newline at end of file +end) + +return Inventory \ No newline at end of file diff --git a/modules/inventory/jpr-inventory/client.lua b/modules/inventory/jpr-inventory/client.lua index a2b0422..34fc32d 100644 --- a/modules/inventory/jpr-inventory/client.lua +++ b/modules/inventory/jpr-inventory/client.lua @@ -41,4 +41,6 @@ RegisterNetEvent('community_bridge:client:jpr-inventory:openStash', function(id, if source ~= 65535 then return end TriggerEvent("inventory:client:SetCurrentStash", id) TriggerServerEvent('inventory:server:OpenInventory', 'stash', id, { maxweight = data.weight, slots = data.slots }) -end) \ No newline at end of file +end) + +return Inventory \ No newline at end of file diff --git a/modules/inventory/jpr-inventory/server.lua b/modules/inventory/jpr-inventory/server.lua index df331af..81f4dc0 100644 --- a/modules/inventory/jpr-inventory/server.lua +++ b/modules/inventory/jpr-inventory/server.lua @@ -154,4 +154,6 @@ Inventory.CreateShop = function(shopTitle, shopInventory, shopCoords, shopGroups jpr:CreateShop(repackedShopItems) registeredShops[shopTitle] = true return true -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/origen_inventory/client.lua b/modules/inventory/origen_inventory/client.lua index 88f1a59..fe44011 100644 --- a/modules/inventory/origen_inventory/client.lua +++ b/modules/inventory/origen_inventory/client.lua @@ -69,3 +69,5 @@ end Inventory.OpenStash = function(id) origin:openInventory('stash', id, { label = id, weight = 400000, slots = 100, }) end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/origen_inventory/server.lua b/modules/inventory/origen_inventory/server.lua index 11d4cfa..19ec807 100644 --- a/modules/inventory/origen_inventory/server.lua +++ b/modules/inventory/origen_inventory/server.lua @@ -181,3 +181,6 @@ end Inventory.CreateShop = function(shopTitle, shopInventory, shopCoords, shopGroups) return true, print("Currently runtime shops are not supported in origen_inventory") end + + +return Inventory \ No newline at end of file diff --git a/modules/inventory/ox_inventory/client.lua b/modules/inventory/ox_inventory/client.lua index 1fcbaea..17bbcd6 100644 --- a/modules/inventory/ox_inventory/client.lua +++ b/modules/inventory/ox_inventory/client.lua @@ -52,4 +52,6 @@ end Inventory.OpenShop = function(shopTitle, shopInventory) ox_inventory:openInventory("shop", { type = shopTitle, id = 1 }) -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/ox_inventory/server.lua b/modules/inventory/ox_inventory/server.lua index 02e6cfb..6e3ec45 100644 --- a/modules/inventory/ox_inventory/server.lua +++ b/modules/inventory/ox_inventory/server.lua @@ -182,4 +182,6 @@ end ---@return table Inventory.GetItem = function(src, item, metadata) return ox_inventory:GetItem(src, item, metadata, false) -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/ps-inventory/client.lua b/modules/inventory/ps-inventory/client.lua index b56364d..fa55848 100644 --- a/modules/inventory/ps-inventory/client.lua +++ b/modules/inventory/ps-inventory/client.lua @@ -41,4 +41,6 @@ RegisterNetEvent('community_bridge:client:ps-inventory:openStash', function(id, if source ~= 65535 then return end TriggerEvent('ps-inventory:client:SetCurrentStash', id) TriggerServerEvent('ps-inventory:server:OpenInventory', 'stash', id, { maxweight = data.weight, slots = data.slots }) -end) \ No newline at end of file +end) + +return Inventory \ No newline at end of file diff --git a/modules/inventory/ps-inventory/server.lua b/modules/inventory/ps-inventory/server.lua index 879312e..2dc105c 100644 --- a/modules/inventory/ps-inventory/server.lua +++ b/modules/inventory/ps-inventory/server.lua @@ -176,4 +176,6 @@ Inventory.CreateShop = function(src, shopTitle, shopInventory, shopCoords, shopG sloth:CreateShop(repackedShopItems) registeredShops[shopTitle] = true return true -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/qb-inventory/client.lua b/modules/inventory/qb-inventory/client.lua index ef831f0..6870be1 100644 --- a/modules/inventory/qb-inventory/client.lua +++ b/modules/inventory/qb-inventory/client.lua @@ -41,4 +41,6 @@ RegisterNetEvent('community_bridge:client:qb-inventory:openStash', function(id, if source ~= 65535 then return end TriggerEvent("inventory:client:SetCurrentStash", id) TriggerServerEvent('inventory:server:OpenInventory', 'stash', id, { maxweight = data.weight, slots = data.slots }) -end) \ No newline at end of file +end) + +return Inventory \ No newline at end of file diff --git a/modules/inventory/qb-inventory/server.lua b/modules/inventory/qb-inventory/server.lua index adb6418..8df9850 100644 --- a/modules/inventory/qb-inventory/server.lua +++ b/modules/inventory/qb-inventory/server.lua @@ -202,4 +202,6 @@ Inventory.CreateShop = function(src, shopTitle, shopInventory, shopCoords, shopG v1ShopData[shopTitle] = shopData print("QB-INVENTORY: You are using an outdated version of qb-inventory, please update to the latest version. Stuff will still work but you are using litterally the most exploitable inventory in fivem.") end -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/qs-inventory/client.lua b/modules/inventory/qs-inventory/client.lua index 384710a..d309ddd 100644 --- a/modules/inventory/qs-inventory/client.lua +++ b/modules/inventory/qs-inventory/client.lua @@ -74,3 +74,5 @@ end Inventory.OpenStash = function(id) quasar:RegisterStash(id, 50, 50000) end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/qs-inventory/server.lua b/modules/inventory/qs-inventory/server.lua index a792c4f..ddb2d3b 100644 --- a/modules/inventory/qs-inventory/server.lua +++ b/modules/inventory/qs-inventory/server.lua @@ -198,4 +198,6 @@ end -- @param shopGroups table Inventory.CreateShop = function(shopTitle, shopInventory, shopCoords, shopGroups) return false, print("Currently qs shop is not bridged") -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/tgiann-inventory/client.lua b/modules/inventory/tgiann-inventory/client.lua index a658878..cc230c3 100644 --- a/modules/inventory/tgiann-inventory/client.lua +++ b/modules/inventory/tgiann-inventory/client.lua @@ -70,4 +70,6 @@ end ---@return nil Inventory.OpenStash = function(id) tgiann:OpenInventory('stash', id, { maxweight = 400000, slots = 100 }) -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/inventory/tgiann-inventory/server.lua b/modules/inventory/tgiann-inventory/server.lua index 995d989..f72cff6 100644 --- a/modules/inventory/tgiann-inventory/server.lua +++ b/modules/inventory/tgiann-inventory/server.lua @@ -204,4 +204,6 @@ Inventory.GetItem = function(src, item, metadata) item.count = item.amount item.metadata = item.info return item -end \ No newline at end of file +end + +return Inventory \ No newline at end of file diff --git a/modules/managment/Renewed-Banking/server.lua b/modules/managment/Renewed-Banking/server.lua index 3c4bf5b..a4683fb 100644 --- a/modules/managment/Renewed-Banking/server.lua +++ b/modules/managment/Renewed-Banking/server.lua @@ -22,4 +22,6 @@ end ---@return boolean Managment.RemoveAccountMoney = function(account, amount) return exports['Renewed-Banking']:removeAccountMoney(account, amount) -end \ No newline at end of file +end + +return Managment \ No newline at end of file diff --git a/modules/managment/_default/server.lua b/modules/managment/_default/server.lua index 26593d6..80cf953 100644 --- a/modules/managment/_default/server.lua +++ b/modules/managment/_default/server.lua @@ -10,4 +10,6 @@ end Managment.RemoveAccountMoney = function(account, amount) return false, print("The resource you are using does not support this function.") -end \ No newline at end of file +end + +return Managment \ No newline at end of file diff --git a/modules/managment/okokBanking/server.lua b/modules/managment/okokBanking/server.lua index 34582c3..60a32b4 100644 --- a/modules/managment/okokBanking/server.lua +++ b/modules/managment/okokBanking/server.lua @@ -22,4 +22,6 @@ end ---@return boolean Managment.RemoveAccountMoney = function(account, amount) return exports['okokBanking']:RemoveMoney(account, amount) -end \ No newline at end of file +end + +return Managment \ No newline at end of file diff --git a/modules/managment/qb-banking/server.lua b/modules/managment/qb-banking/server.lua index 25d168a..da26df1 100644 --- a/modules/managment/qb-banking/server.lua +++ b/modules/managment/qb-banking/server.lua @@ -22,4 +22,6 @@ end ---@return boolean Managment.RemoveAccountMoney = function(account, amount) return exports['qb-banking']:RemoveMoney(account, amount) -end \ No newline at end of file +end + +return Managment \ No newline at end of file diff --git a/modules/math/computation.lua b/modules/math/computation.lua index 1e6ef28..f007806 100644 --- a/modules/math/computation.lua +++ b/modules/math/computation.lua @@ -66,3 +66,5 @@ end function Math.Map(value, inMin, inMax, outMin, outMax) return (value - inMin) / (inMax - inMin) * (outMax - outMin) + outMin end + +return Math \ No newline at end of file diff --git a/modules/menu/client.lua b/modules/menu/client.lua index dbb41f9..26b2713 100644 --- a/modules/menu/client.lua +++ b/modules/menu/client.lua @@ -23,6 +23,7 @@ RegisterNetEvent('community_bridge:client:MenuCallback', function(_args) onSelect(args) end) +return Menu --[[ diff --git a/modules/notify/_default/client.lua b/modules/notify/_default/client.lua index c016d61..72a5c40 100644 --- a/modules/notify/_default/client.lua +++ b/modules/notify/_default/client.lua @@ -35,4 +35,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field Notify.ShowHelpText = function(message, position) return HelpText.ShowHelpText(message, position) -end \ No newline at end of file +end + +return Notify \ No newline at end of file diff --git a/modules/notify/_default/server.lua b/modules/notify/_default/server.lua index a299eae..a6f5d41 100644 --- a/modules/notify/_default/server.lua +++ b/modules/notify/_default/server.lua @@ -30,4 +30,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field Notify.HideHelpText = function(src) return HelpText.HideHelpText(src) -end \ No newline at end of file +end + +return Notify \ No newline at end of file diff --git a/modules/notify/mythic_notify/client.lua b/modules/notify/mythic_notify/client.lua index 378ce39..b276ef5 100644 --- a/modules/notify/mythic_notify/client.lua +++ b/modules/notify/mythic_notify/client.lua @@ -17,4 +17,6 @@ end Notify.SendNotify = function(message, _type, time) time = time or 3000 return exports['mythic_notify']:SendAlert('inform', message, time) -end \ No newline at end of file +end + +return Notify \ No newline at end of file diff --git a/modules/notify/okokNotify/client.lua b/modules/notify/okokNotify/client.lua index 78c28a5..6375bab 100644 --- a/modules/notify/okokNotify/client.lua +++ b/modules/notify/okokNotify/client.lua @@ -17,4 +17,6 @@ end Notify.SendNotify = function(message, _type, time) time = time or 3000 return exports['okokNotify']:Alert('Notification', message, time, _type, false) -end \ No newline at end of file +end + +return Notify \ No newline at end of file diff --git a/modules/notify/ox_lib/client.lua b/modules/notify/ox_lib/client.lua index fe28910..037dc95 100644 --- a/modules/notify/ox_lib/client.lua +++ b/modules/notify/ox_lib/client.lua @@ -18,4 +18,6 @@ end Notify.SendNotify = function(message, _type, time) time = time or 3000 return exports.ox_lib:notify({ description = message, type = _type, position = 'center-left' }) -end \ No newline at end of file +end + +return Notify \ No newline at end of file diff --git a/modules/notify/pNotify/client.lua b/modules/notify/pNotify/client.lua index e5ee328..7cbf356 100644 --- a/modules/notify/pNotify/client.lua +++ b/modules/notify/pNotify/client.lua @@ -17,4 +17,6 @@ end Notify.SendNotify = function(message, _type, time) time = time or 3000 return exports['pNotify']:SendNotification({ text = message, type = _type, timeout = time, layout = 'centerRight' }) -end \ No newline at end of file +end + +return Notify \ No newline at end of file diff --git a/modules/notify/r_notify/client.lua b/modules/notify/r_notify/client.lua index a3dc5b6..4b12e9e 100644 --- a/modules/notify/r_notify/client.lua +++ b/modules/notify/r_notify/client.lua @@ -17,4 +17,6 @@ end Notify.SendNotify = function(message, _type, time) time = time or 3000 return exports.r_notify:notify({title = 'Notification', content = message, type = _type, icon = "fas fa-check", duration = time, position = 'top-right', sound = false}) -end \ No newline at end of file +end + +return Notify \ No newline at end of file diff --git a/modules/notify/t-notify/client.lua b/modules/notify/t-notify/client.lua index f11e863..0dcc4c4 100644 --- a/modules/notify/t-notify/client.lua +++ b/modules/notify/t-notify/client.lua @@ -17,4 +17,6 @@ end Notify.SendNotify = function(message, _type, time) time = time or 3000 return exports['t-notify']:Alert({ style = 'info', message = message, duration = time, }) -end \ No newline at end of file +end + +return Notify \ No newline at end of file diff --git a/modules/notify/wasabi_notify/client.lua b/modules/notify/wasabi_notify/client.lua index 52998c8..f4d83f5 100644 --- a/modules/notify/wasabi_notify/client.lua +++ b/modules/notify/wasabi_notify/client.lua @@ -17,4 +17,6 @@ end Notify.SendNotify = function(message, _type, time) time = time or 3000 return exports.wasabi_notify:notify(_type, message, time, _type) -end \ No newline at end of file +end + +return Notify \ No newline at end of file diff --git a/modules/phone/_default/client.lua b/modules/phone/_default/client.lua index 3337b0c..b05bde5 100644 --- a/modules/phone/_default/client.lua +++ b/modules/phone/_default/client.lua @@ -3,4 +3,6 @@ Phone = Phone or {} ---@diagnostic disable-next-line: duplicate-set-field Phone.SendEmail = function(email, title, message) return false, Print.Error('There Is No Phone Bridged.') -end \ No newline at end of file +end + +return Phone \ No newline at end of file diff --git a/modules/phone/_default/server.lua b/modules/phone/_default/server.lua index 51b2402..899d30e 100644 --- a/modules/phone/_default/server.lua +++ b/modules/phone/_default/server.lua @@ -8,4 +8,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field Phone.SendEmail = function(src, email, title, message) return false, Print.Error('There Is No Phone Bridged.') -end \ No newline at end of file +end + +return Phone \ No newline at end of file diff --git a/modules/phone/gksphone/client.lua b/modules/phone/gksphone/client.lua index 7bae1cb..ead89bb 100644 --- a/modules/phone/gksphone/client.lua +++ b/modules/phone/gksphone/client.lua @@ -12,4 +12,6 @@ Phone = Phone or {} ---@diagnostic disable-next-line: duplicate-set-field Phone.SendEmail = function(email, title, message) return exports["gksphone"]:SendNewMail({ sender = email, image = '/html/static/img/icons/mail.png', subject = title, message = message }) -end \ No newline at end of file +end + +return Phone \ No newline at end of file diff --git a/modules/phone/gksphone/server.lua b/modules/phone/gksphone/server.lua index 828696b..8d72d62 100644 --- a/modules/phone/gksphone/server.lua +++ b/modules/phone/gksphone/server.lua @@ -26,4 +26,6 @@ Phone.SendEmail = function(src, email, title, message) data.message = message exports["gksphone"]:SendNewMail(src, data) return true -end \ No newline at end of file +end + +return Phone \ No newline at end of file diff --git a/modules/phone/lb-phone/client.lua b/modules/phone/lb-phone/client.lua index 2964856..450f364 100644 --- a/modules/phone/lb-phone/client.lua +++ b/modules/phone/lb-phone/client.lua @@ -11,4 +11,6 @@ Phone = Phone or {} ---@diagnostic disable-next-line: duplicate-set-field Phone.SendEmail = function(email, title, message) TriggerServerEvent('community_bridge:Server:genericEmail', {email = email, title = title, message = message}) -end \ No newline at end of file +end + +return Phone \ No newline at end of file diff --git a/modules/phone/lb-phone/server.lua b/modules/phone/lb-phone/server.lua index 748741f..6545f23 100644 --- a/modules/phone/lb-phone/server.lua +++ b/modules/phone/lb-phone/server.lua @@ -33,4 +33,6 @@ RegisterNetEvent('community_bridge:Server:genericEmail', function(data) local src = source Prints.Debug('community_bridge:Server:genericEmail Hit') return Phone.SendEmail(src, data.email, data.title, data.message) -end) \ No newline at end of file +end) + +return Phone \ No newline at end of file diff --git a/modules/phone/okokPhone/client.lua b/modules/phone/okokPhone/client.lua index 623b01a..5fd5def 100644 --- a/modules/phone/okokPhone/client.lua +++ b/modules/phone/okokPhone/client.lua @@ -14,3 +14,5 @@ Phone.SendEmail = function(email, title, message) local success = lib.callback.await('community_bridge:Callback:okokPhone:sendEmail', false, email, title, message) --[[ @as boolean ]] return success end + +return Phone \ No newline at end of file diff --git a/modules/phone/okokPhone/server.lua b/modules/phone/okokPhone/server.lua index 67643cb..4897937 100644 --- a/modules/phone/okokPhone/server.lua +++ b/modules/phone/okokPhone/server.lua @@ -53,3 +53,5 @@ end lib.callback.registry('community_bridge:Callback:okokPhone:sendEmail', function(src, email, title, message) return Phone.SendEmail(src, email, title, message) end) + +return Phone \ No newline at end of file diff --git a/modules/phone/qs-smartphone/client.lua b/modules/phone/qs-smartphone/client.lua index 2f797e6..f0466a3 100644 --- a/modules/phone/qs-smartphone/client.lua +++ b/modules/phone/qs-smartphone/client.lua @@ -15,4 +15,6 @@ end RegisterNetEvent('community_bridge:Server:genericEmail', function(data) TriggerServerEvent('qs-smartphone:server:sendNewMail', { sender = data.email, subject = data.title, message = data.message, button = {} }) -end) \ No newline at end of file +end) + +return Phone \ No newline at end of file diff --git a/modules/phone/qs-smartphone/server.lua b/modules/phone/qs-smartphone/server.lua index 167bacc..792674a 100644 --- a/modules/phone/qs-smartphone/server.lua +++ b/modules/phone/qs-smartphone/server.lua @@ -20,4 +20,6 @@ end Phone.SendEmail = function(src, email, title, message) TriggerClientEvent('community_bridge:Server:genericEmail', src, { sender = email, subject = title, message = message, button = {} }) return true -end \ No newline at end of file +end + +return Phone \ No newline at end of file diff --git a/modules/progressbar/ox_lib/client.lua b/modules/progressbar/ox_lib/client.lua index 080e067..c7bdb21 100644 --- a/modules/progressbar/ox_lib/client.lua +++ b/modules/progressbar/ox_lib/client.lua @@ -62,6 +62,8 @@ function ProgressBar.Open(options, cb, isQBInput) return success end +return ProgressBar + --[[ RegisterCommand("progressbar", function() ProgressBar.Open({ diff --git a/modules/progressbar/qb-progressbar/client.lua b/modules/progressbar/qb-progressbar/client.lua index 73dd034..4908ff1 100644 --- a/modules/progressbar/qb-progressbar/client.lua +++ b/modules/progressbar/qb-progressbar/client.lua @@ -60,6 +60,8 @@ function ProgressBar.Open(options, cb, qbFormat) return Citizen.Await(prom) end +return ProgressBar + -- Example usage: --[[ diff --git a/modules/shops/_default/client.lua b/modules/shops/_default/client.lua index 02e774d..c8512db 100644 --- a/modules/shops/_default/client.lua +++ b/modules/shops/_default/client.lua @@ -76,3 +76,5 @@ Shops.OpenShop = function(title, shopData) end Menu.Open({ id = generatedID, title = title, options = buildMenu }, false) end + +return Shops \ No newline at end of file diff --git a/modules/shops/_default/server.lua b/modules/shops/_default/server.lua index 09a84fa..a4ac7b4 100644 --- a/modules/shops/_default/server.lua +++ b/modules/shops/_default/server.lua @@ -60,4 +60,6 @@ RegisterNetEvent("community_bridge:completeCheckout", function(shopName, item, a if not shopName and not item and not paymentType then return end if not paymentType == "money" or not paymentType == "bank" then return end Shops.CompleteCheckout(src, shopName, item, amount, paymentType) -end) \ No newline at end of file +end) + +return Shops \ No newline at end of file diff --git a/modules/skills/OT_skills/client.lua b/modules/skills/OT_skills/client.lua index cac7757..4d0e9f1 100644 --- a/modules/skills/OT_skills/client.lua +++ b/modules/skills/OT_skills/client.lua @@ -12,4 +12,6 @@ end Skills.GetSkillLevel = function(skillName) local skillData = exports.OT_skills:getSkill(skillName) return skillData.level or 0 -end \ No newline at end of file +end + +return Skills \ No newline at end of file diff --git a/modules/skills/OT_skills/server.lua b/modules/skills/OT_skills/server.lua index c5be3f1..7685012 100644 --- a/modules/skills/OT_skills/server.lua +++ b/modules/skills/OT_skills/server.lua @@ -26,4 +26,6 @@ Skills.RemoveXp = function(src, skillName, amount) if not skillData then return false, print("Skill not found") end exports.OT_skills:removeXP(src, skillName, amount) return true -end \ No newline at end of file +end + +return Skills \ No newline at end of file diff --git a/modules/skills/_default/client.lua b/modules/skills/_default/client.lua index 9b26b0a..74f9d3e 100644 --- a/modules/skills/_default/client.lua +++ b/modules/skills/_default/client.lua @@ -12,4 +12,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field Skills.GetSkillLevel = function(skillName) return 0, warnUser() -end \ No newline at end of file +end + +return Skills \ No newline at end of file diff --git a/modules/skills/_default/server.lua b/modules/skills/_default/server.lua index a5ae846..e1b2302 100644 --- a/modules/skills/_default/server.lua +++ b/modules/skills/_default/server.lua @@ -22,4 +22,6 @@ end ---@diagnostic disable-next-line: duplicate-set-field Skills.RemoveXp = function(src, skillName, amount) return false, warnUser() -end \ No newline at end of file +end + +return Skills \ No newline at end of file diff --git a/modules/skills/evolent_skills/client.lua b/modules/skills/evolent_skills/client.lua index 7ee1e0f..745b5a8 100644 --- a/modules/skills/evolent_skills/client.lua +++ b/modules/skills/evolent_skills/client.lua @@ -12,4 +12,6 @@ end Skills.GetSkillLevel = function(skillName) local skillData = exports.evolent_skills:getSkillLevel(skillName) return skillData or 0 -end \ No newline at end of file +end + +return Skills \ No newline at end of file diff --git a/modules/skills/evolent_skills/server.lua b/modules/skills/evolent_skills/server.lua index 05f960a..935a184 100644 --- a/modules/skills/evolent_skills/server.lua +++ b/modules/skills/evolent_skills/server.lua @@ -28,4 +28,6 @@ Skills.RemoveXp = function(src, skillName, amount) if not skillData then return false, print("Skill not found") end exports.evolent_skills:removeXp(src, skillName, amount) return true -end \ No newline at end of file +end + +return Skills \ No newline at end of file diff --git a/modules/skills/pickle_xp/client.lua b/modules/skills/pickle_xp/client.lua index c21f010..4692acc 100644 --- a/modules/skills/pickle_xp/client.lua +++ b/modules/skills/pickle_xp/client.lua @@ -12,4 +12,6 @@ end Skills.GetSkillLevel = function(skillName) local skillData = exports.OT_skills:GetLevel(skillName) return skillData or 0 -end \ No newline at end of file +end + +return Skills \ No newline at end of file diff --git a/modules/skills/pickle_xp/server.lua b/modules/skills/pickle_xp/server.lua index b7234f3..82ef781 100644 --- a/modules/skills/pickle_xp/server.lua +++ b/modules/skills/pickle_xp/server.lua @@ -26,4 +26,6 @@ Skills.RemoveXp = function(src, skillName, amount) if not skillData then return false, print("Skill not found") end exports.pickle_xp:RemovePlayerXP(src, skillName, amount) return true -end \ No newline at end of file +end + +return Skills \ No newline at end of file diff --git a/modules/target/_default/client.lua b/modules/target/_default/client.lua index 710c524..37581d7 100644 --- a/modules/target/_default/client.lua +++ b/modules/target/_default/client.lua @@ -135,4 +135,6 @@ end Target.RemoveZone = function(name) warnUser() -end \ No newline at end of file +end + +return Target \ No newline at end of file diff --git a/modules/target/ox_target/client.lua b/modules/target/ox_target/client.lua index fb06fd0..d65b7e6 100644 --- a/modules/target/ox_target/client.lua +++ b/modules/target/ox_target/client.lua @@ -157,3 +157,5 @@ AddEventHandler('onResourceStop', function(resource) end targetZones = {} end) + +return Target \ No newline at end of file diff --git a/modules/target/qb-target/client.lua b/modules/target/qb-target/client.lua index dccdb64..516b4e8 100644 --- a/modules/target/qb-target/client.lua +++ b/modules/target/qb-target/client.lua @@ -170,4 +170,6 @@ AddEventHandler('onResourceStop', function(resource) end end targetZones = {} -end) \ No newline at end of file +end) + +return Target \ No newline at end of file diff --git a/modules/target/sleepless_interact/client.lua b/modules/target/sleepless_interact/client.lua index c3cc9f0..0e924b2 100644 --- a/modules/target/sleepless_interact/client.lua +++ b/modules/target/sleepless_interact/client.lua @@ -139,3 +139,5 @@ AddEventHandler('onResourceStop', function(resource) targetZones = {} end end) + +return Target \ No newline at end of file diff --git a/modules/vehicleKey/F_RealCarKeysSystem/client/client.lua b/modules/vehicleKey/F_RealCarKeysSystem/client/client.lua index 6013011..5ba0f96 100644 --- a/modules/vehicleKey/F_RealCarKeysSystem/client/client.lua +++ b/modules/vehicleKey/F_RealCarKeysSystem/client/client.lua @@ -12,3 +12,5 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) return true end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/MrNewbVehicleKeys/client/client.lua b/modules/vehicleKey/MrNewbVehicleKeys/client/client.lua index 7cf6df9..2790419 100644 --- a/modules/vehicleKey/MrNewbVehicleKeys/client/client.lua +++ b/modules/vehicleKey/MrNewbVehicleKeys/client/client.lua @@ -12,4 +12,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) if not plate then return false end return exports.MrNewbVehicleKeys:RemoveKeysByPlate(plate) -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/Renewed-Vehiclekeys/client/client.lua b/modules/vehicleKey/Renewed-Vehiclekeys/client/client.lua index 4344bb7..baf44c4 100644 --- a/modules/vehicleKey/Renewed-Vehiclekeys/client/client.lua +++ b/modules/vehicleKey/Renewed-Vehiclekeys/client/client.lua @@ -12,4 +12,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) if not plate then return false end return exports['Renewed-Vehiclekeys']:removeKey(plate) -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/_default/client/client.lua b/modules/vehicleKey/_default/client/client.lua index df07dc4..283a143 100644 --- a/modules/vehicleKey/_default/client/client.lua +++ b/modules/vehicleKey/_default/client/client.lua @@ -13,4 +13,6 @@ end ---@return boolean | nil VehicleKey.RemoveKeys = function(vehicle, plate) return true, Prints.Error("There Is No Vehicle Key System Installed") -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/cd_garage/client/client.lua b/modules/vehicleKey/cd_garage/client/client.lua index 936e1d0..7250703 100644 --- a/modules/vehicleKey/cd_garage/client/client.lua +++ b/modules/vehicleKey/cd_garage/client/client.lua @@ -11,4 +11,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) return true -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/jacksam/client.lua b/modules/vehicleKey/jacksam/client.lua index 2b2f643..4259aa4 100644 --- a/modules/vehicleKey/jacksam/client.lua +++ b/modules/vehicleKey/jacksam/client.lua @@ -13,4 +13,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) if not plate then return false end return TriggerServerEvent("vehicles_keys:selfRemoveKeys", plate) -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/mk_vehiclekeys/client/client.lua b/modules/vehicleKey/mk_vehiclekeys/client/client.lua index c39def4..58227de 100644 --- a/modules/vehicleKey/mk_vehiclekeys/client/client.lua +++ b/modules/vehicleKey/mk_vehiclekeys/client/client.lua @@ -12,4 +12,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) if not vehicle and not DoesEntityExist(vehicle) then return false end return exports["mk_vehiclekeys"]:RemoveKey(vehicle) -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/mono_carkeys/client/client.lua b/modules/vehicleKey/mono_carkeys/client/client.lua index 03790d3..793bd5a 100644 --- a/modules/vehicleKey/mono_carkeys/client/client.lua +++ b/modules/vehicleKey/mono_carkeys/client/client.lua @@ -12,3 +12,5 @@ VehicleKey.RemoveKeys = function(vehicle, plate) if not plate then return false end TriggerServerEvent('mono_carkeys:DeleteKey', 1, plate) end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/okokGarage/client/client.lua b/modules/vehicleKey/okokGarage/client/client.lua index 3d62e22..27dba9a 100644 --- a/modules/vehicleKey/okokGarage/client/client.lua +++ b/modules/vehicleKey/okokGarage/client/client.lua @@ -11,4 +11,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) return true -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/qb-vehiclekeys/client/client.lua b/modules/vehicleKey/qb-vehiclekeys/client/client.lua index 3ab78a2..f553cea 100644 --- a/modules/vehicleKey/qb-vehiclekeys/client/client.lua +++ b/modules/vehicleKey/qb-vehiclekeys/client/client.lua @@ -12,4 +12,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) if not plate then return false end TriggerEvent("qb-vehiclekeys:client:RemoveKeys", plate) -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/qbx_vehiclekeys/client/client.lua b/modules/vehicleKey/qbx_vehiclekeys/client/client.lua index 8e554a8..a815939 100644 --- a/modules/vehicleKey/qbx_vehiclekeys/client/client.lua +++ b/modules/vehicleKey/qbx_vehiclekeys/client/client.lua @@ -11,4 +11,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) return true -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/qs-vehiclekeys/client/client.lua b/modules/vehicleKey/qs-vehiclekeys/client/client.lua index d9a4423..6f8c3e0 100644 --- a/modules/vehicleKey/qs-vehiclekeys/client/client.lua +++ b/modules/vehicleKey/qs-vehiclekeys/client/client.lua @@ -16,4 +16,6 @@ VehicleKey.RemoveKeys = function(vehicle, plate) local model = GetDisplayNameFromVehicleModel(GetEntityModel(vehicle)) local verifiedPlate = GetVehicleNumberPlateText(vehicle) return exports['qs-vehiclekeys']:RemoveKeys(verifiedPlate, model) -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/t1ger_keys/client/client.lua b/modules/vehicleKey/t1ger_keys/client/client.lua index 23dd224..e2107b4 100644 --- a/modules/vehicleKey/t1ger_keys/client/client.lua +++ b/modules/vehicleKey/t1ger_keys/client/client.lua @@ -12,4 +12,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/vehicleKey/wasabi_carlock/client/client.lua b/modules/vehicleKey/wasabi_carlock/client/client.lua index 8f03b0f..a66377a 100644 --- a/modules/vehicleKey/wasabi_carlock/client/client.lua +++ b/modules/vehicleKey/wasabi_carlock/client/client.lua @@ -12,4 +12,6 @@ end VehicleKey.RemoveKeys = function(vehicle, plate) if not plate and vehicle then plate = GetVehicleNumberPlateText(vehicle) end exports.wasabi_carlock:RemoveKey(plate) -end \ No newline at end of file +end + +return VehicleKey \ No newline at end of file diff --git a/modules/version/server/VersionChecker.lua b/modules/version/server/VersionChecker.lua index 6d5fe2a..35ea71a 100644 --- a/modules/version/server/VersionChecker.lua +++ b/modules/version/server/VersionChecker.lua @@ -31,4 +31,6 @@ end AddEventHandler('onResourceStart', function(resourceName) if GetCurrentResourceName() ~= resourceName then return end Version.VersionChecker("The-Order-Of-The-Sacred-Framework/community_bridge") -end) \ No newline at end of file +end) + +return Version \ No newline at end of file diff --git a/modules/weather/_default/client.lua b/modules/weather/_default/client.lua index 93a508a..095bf46 100644 --- a/modules/weather/_default/client.lua +++ b/modules/weather/_default/client.lua @@ -5,4 +5,6 @@ Weather = Weather or {} ---@return nil Weather.ToggleSync = function(toggle) -end \ No newline at end of file +end + +return Weather \ No newline at end of file diff --git a/modules/weather/cd_easytime/client.lua b/modules/weather/cd_easytime/client.lua index e3740dc..7808160 100644 --- a/modules/weather/cd_easytime/client.lua +++ b/modules/weather/cd_easytime/client.lua @@ -5,4 +5,6 @@ Weather = Weather or {} ---@param toggle boolean Weather.ToggleSync = function(toggle) TriggerEvent('cd_easytime:PauseSync', toggle) -end \ No newline at end of file +end + +return Weather \ No newline at end of file diff --git a/modules/weather/qb-weathersync/client/client.lua b/modules/weather/qb-weathersync/client/client.lua index d6eb030..df628c7 100644 --- a/modules/weather/qb-weathersync/client/client.lua +++ b/modules/weather/qb-weathersync/client/client.lua @@ -9,4 +9,6 @@ Weather.ToggleSync = function(toggle) else TriggerEvent("qb-weathersync:client:DisableSync") end -end \ No newline at end of file +end + +return Weather \ No newline at end of file diff --git a/modules/weather/renewed-weathersync/client/client.lua b/modules/weather/renewed-weathersync/client/client.lua index 66bb585..d531bee 100644 --- a/modules/weather/renewed-weathersync/client/client.lua +++ b/modules/weather/renewed-weathersync/client/client.lua @@ -5,4 +5,6 @@ Weather = Weather or {} ---@param toggle boolean Weather.ToggleSync = function(toggle) LocalPlayer.state.syncWeather = toggle -end \ No newline at end of file +end + +return Weather \ No newline at end of file