Update callback module import paths
Changed all references from 'lib/utility/shared/callbacks.lua' to 'lib/callback/shared/callback.lua' in client and server files for framework, inventory, and phone modules to reflect new file structure or module location. Commit#f900bc5 did not adjust these, correcting.
This commit is contained in:
1 parent
c399fbaca4
commit
9c61f7967d
6 files changed
+6
-6
No files matched your search
@@ -2,7 +2,7 @@
|
|||||||
if GetResourceState('es_extended') ~= 'started' then return end
|
if GetResourceState('es_extended') ~= 'started' then return end
|
||||||
|
|
||||||
ESX = exports.es_extended:getSharedObject()
|
ESX = exports.es_extended:getSharedObject()
|
||||||
Callback = Callback or Require("lib/utility/shared/callbacks.lua")
|
Callback = Callback or Require("lib/callback/shared/callback.lua")
|
||||||
|
|
||||||
Framework = Framework or {}
|
Framework = Framework or {}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
if GetResourceState('es_extended') ~= 'started' then return end
|
if GetResourceState('es_extended') ~= 'started' then return end
|
||||||
|
|
||||||
Prints = Prints or Require("lib/utility/shared/prints.lua")
|
Prints = Prints or Require("lib/utility/shared/prints.lua")
|
||||||
Callback = Callback or Require("lib/utility/shared/callbacks.lua")
|
Callback = Callback or Require("lib/callback/shared/callback.lua")
|
||||||
|
|
||||||
ESX = exports.es_extended:getSharedObject()
|
ESX = exports.es_extended:getSharedObject()
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---@diagnostic disable: duplicate-set-field
|
---@diagnostic disable: duplicate-set-field
|
||||||
if GetResourceState('core_inventory') ~= 'started' then return end
|
if GetResourceState('core_inventory') ~= 'started' then return end
|
||||||
local core = exports.core_inventory
|
local core = exports.core_inventory
|
||||||
Callback = Callback or Require("lib/utility/shared/callbacks.lua")
|
Callback = Callback or Require("lib/callback/shared/callback.lua")
|
||||||
|
|
||||||
Inventory = Inventory or {}
|
Inventory = Inventory or {}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ if GetResourceState('core_inventory') ~= 'started' then return end
|
|||||||
|
|
||||||
Inventory = Inventory or {}
|
Inventory = Inventory or {}
|
||||||
Inventory.Stashes = Inventory.Stashes or {}
|
Inventory.Stashes = Inventory.Stashes or {}
|
||||||
Callback = Callback or Require("lib/utility/shared/callbacks.lua")
|
Callback = Callback or Require("lib/callback/shared/callback.lua")
|
||||||
local core = exports.core_inventory
|
local core = exports.core_inventory
|
||||||
|
|
||||||
---This will add an item, and return true or false based on success
|
---This will add an item, and return true or false based on success
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
local resourceName = "okokPhone"
|
local resourceName = "okokPhone"
|
||||||
if GetResourceState(resourceName) == 'missing' then return end
|
if GetResourceState(resourceName) == 'missing' then return end
|
||||||
Phone = Phone or {}
|
Phone = Phone or {}
|
||||||
Callback = Callback or Require("lib/utility/shared/callbacks.lua")
|
Callback = Callback or Require("lib/callback/shared/callback.lua")
|
||||||
|
|
||||||
---This will get the name of the Phone system being being used.
|
---This will get the name of the Phone system being being used.
|
||||||
---@return string
|
---@return string
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
local resourceName = "okokPhone"
|
local resourceName = "okokPhone"
|
||||||
if GetResourceState(resourceName) == 'missing' then return end
|
if GetResourceState(resourceName) == 'missing' then return end
|
||||||
Phone = Phone or {}
|
Phone = Phone or {}
|
||||||
Callback = Callback or Require("lib/utility/shared/callbacks.lua")
|
Callback = Callback or Require("lib/callback/shared/callback.lua")
|
||||||
|
|
||||||
---This will get the name of the Phone system being being used.
|
---This will get the name of the Phone system being being used.
|
||||||
---@return string
|
---@return string
|
||||||
|
|||||||
Reference in new issue
Block a user